Explorar el Código

4th Improvement - Cardinal (#7706)

munkrej hace 2 años
padre
commit
a818232e77
Se han modificado 2 ficheros con 21 adiciones y 5 borrados
  1. 15 4
      db/re/skill_db.yml
  2. 6 1
      src/map/battle.cpp

+ 15 - 4
db/re/skill_db.yml

@@ -37308,7 +37308,7 @@ Body:
     CastTime: 2000
     AfterCastActDelay: 500
     Duration1: 20000
-    Cooldown: 3000
+    Cooldown: 2000
     FixedCastTime: 1000
     Requires:
       SpCost:
@@ -37638,6 +37638,7 @@ Body:
     TargetType: Attack
     DamageFlags:
       Splash: true
+      Critical: true
     Range: 2
     Hit: Single
     HitCount: 1
@@ -37666,7 +37667,7 @@ Body:
     GiveAp: 2
     CastCancel: true
     AfterCastActDelay: 500
-    Cooldown: 2000
+    Cooldown: 1000
     Requires:
       SpCost:
         - Level: 1
@@ -37716,11 +37717,21 @@ Body:
         Area: 3
       - Level: 5
         Area: 3
-    GiveAp: 3
+    GiveAp: 1
     CastCancel: true
     CastTime: 2000
     AfterCastActDelay: 500
-    Cooldown: 3000
+    Cooldown:
+      - Level: 1
+        Time: 3000
+      - Level: 2
+        Time: 2100
+      - Level: 3
+        Time: 1500
+      - Level: 4
+        Time: 900
+      - Level: 5
+        Time: 300
     FixedCastTime: 1000
     Requires:
       SpCost:

+ 6 - 1
src/map/battle.cpp

@@ -7875,8 +7875,13 @@ struct Damage battle_calc_magic_attack(struct block_list *src,struct block_list
 						RE_LVL_DMOD(100);
 						break;
 					case CD_ARBITRIUM:
+						skillratio += -100 + 400 * skill_lv + 5 * sstatus->spl;
+						skillratio += 100 * pc_checkskill( sd, CD_FIDUS_ANIMUS );
+						RE_LVL_DMOD(100);
+						break;
 					case CD_ARBITRIUM_ATK:
-						skillratio += -100 + 200 * skill_lv + 5 * sstatus->spl;
+						skillratio += -100 + 550 * skill_lv + 5 * sstatus->spl;
+						skillratio += 100 * pc_checkskill( sd, CD_FIDUS_ANIMUS );
 						RE_LVL_DMOD(100);
 						break;
 					case CD_PNEUMATICUS_PROCELLA: