浏览代码

Implemented NPC_GROUNDDRIVE (#7677)

Atemo 2 年之前
父节点
当前提交
b7807db42f
共有 3 个文件被更改,包括 32 次插入0 次删除
  1. 30 0
      db/re/skill_db.yml
  2. 1 0
      src/map/battle.cpp
  3. 1 0
      src/map/skill.cpp

+ 30 - 0
db/re/skill_db.yml

@@ -18327,6 +18327,36 @@ Body:
       Target: Enemy
       Flag:
         PathCheck: true
+  - Id: 770
+    Name: NPC_GROUNDDRIVE
+    Description: Ground Drive
+    MaxLevel: 5
+    Type: Magic
+    TargetType: Ground
+    Flags:
+      TargetHidden: true
+    Range: 9
+    Hit: Multi_Hit
+    HitCount:
+      - Level: 1
+        Count: 1
+      - Level: 2
+        Count: 2
+      - Level: 3
+        Count: 3
+      - Level: 4
+        Count: 4
+      - Level: 5
+        Count: 5
+    Element: Earth
+    Duration1: 100
+    Unit:
+      Id: Dummyskill
+      Layout: 2
+      Interval: 1000
+      Target: Enemy
+      Flag:
+        PathCheck: true
   - Id: 771
     Name: NPC_RELIEVE_ON
     Description: NPC_RELIEVE_ON

+ 1 - 0
src/map/battle.cpp

@@ -7355,6 +7355,7 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
 						break;
 #ifdef RENEWAL
 					case WZ_HEAVENDRIVE:
+					case NPC_GROUNDDRIVE:
 						skillratio += 25;
 						break;
 					case WZ_METEOR:

+ 1 - 0
src/map/skill.cpp

@@ -13538,6 +13538,7 @@ int skill_castend_pos2(struct block_list* src, int x, int y, uint16 skill_id, ui
 	case WZ_VERMILION:
 	case WZ_STORMGUST:
 	case WZ_HEAVENDRIVE:
+	case NPC_GROUNDDRIVE:
 	case PR_SANCTUARY:
 	case PR_MAGNUS:
 	case CR_GRANDCROSS: