فهرست منبع

Fixes some bonus inconsistencies (#7072)

* Fixes #7031.
* Resolves Glorious Holy Avenger giving an extra 6 INT in renewal.
* Also cleans up the refine checks for Glorious Holy Avenger in pre-renewal.
* Baphomet Jr pet should now reduce resistance to stun in renewal.
Thanks to @Melk3000!
Aleos 2 سال پیش
والد
کامیت
fe60611892
3فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 5 4
      db/pre-re/item_db_equip.yml
  2. 0 1
      db/re/item_db_equip.yml
  3. 1 1
      db/re/pet_db.yml

+ 5 - 4
db/pre-re/item_db_equip.yml

@@ -40343,14 +40343,15 @@ Body:
       NoMail: true
       NoAuction: true
     Script: |
-      bonus bInt,getrefine()-5;
+      .@r = getrefine();
+      bonus bInt,.@r-5;
       bonus bMatkRate,10;
       bonus bUnbreakableWeapon;
-      if (getrefine()>5)
+      if (.@r>5)
          bonus bUseSPrate,-10;
-      if (getrefine()>8)
+      if (.@r>8)
          bonus4 bAutoSpellOnSkill,"PA_PRESSURE","PR_LEXAETERNA",1,1000;
-      if (getrefine()>9)
+      if (.@r>9)
          bonus bInt,5;
   - Id: 13419
     AegisName: Holy_Saber

+ 0 - 1
db/re/item_db_equip.yml

@@ -62836,7 +62836,6 @@ Body:
       NoAuction: true
     Script: |
       .@r = getrefine();
-      bonus bInt,6;
       bonus bInt,.@r-5;
       bonus bUnbreakableWeapon;
       if (.@r>5)

+ 1 - 1
db/re/pet_db.yml

@@ -630,7 +630,7 @@ Body:
       } else if (.@i >= PET_INTIMATE_CORDIAL) {
         bonus bDef,1;
         bonus bMdef,1;
-        bonus2 bResEff,Eff_Stun,100;
+        bonus2 bResEff,Eff_Stun,-100;
       }
   - Mob: BON_GUN
     TameItem: Heart_Of_Her