Преглед на файлове

Corrected script for some item #28 (#8340)

idk-whoami преди 11 месеца
родител
ревизия
f60a4bdfaf

Файловите разлики са ограничени, защото са твърде много
+ 231 - 193
db/re/item_combos.yml


Файловите разлики са ограничени, защото са твърде много
+ 445 - 78
db/re/item_db_equip.yml


+ 371 - 16
db/re/item_db_etc.yml

@@ -43794,13 +43794,131 @@ Body:
     Script: |
       bonus2 bWeaponDamageRate,W_BOW,10;
       bonus bCritical,10;
+  - Id: 29127
+    AegisName: Mana_Vermilion
+    Name: Red Lotus
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bAddEle,Ele_Fire,10;
+      bonus2 bMagicAtkEle,Ele_Fire,10;
+      bonus2 bSubEle,Ele_Fire,5;
+  - Id: 29128
+    AegisName: Mana_Braze
+    Name: Brass
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bAddEle,Ele_Water,10;
+      bonus2 bMagicAtkEle,Ele_Water,10;
+      bonus2 bSubEle,Ele_Water,5;
+  - Id: 29129
+    AegisName: Mana_Chrome
+    Name: Silver
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bAddEle,Ele_Wind,10;
+      bonus2 bMagicAtkEle,Ele_Wind,10;
+      bonus2 bSubEle,Ele_Wind,5;
+  - Id: 29130
+    AegisName: Mana_Twilight
+    Name: Dusk
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bAddEle,Ele_Earth,10;
+      bonus2 bMagicAtkEle,Ele_Earth,10;
+      bonus2 bSubEle,Ele_Earth,5;
+  - Id: 29131
+    AegisName: Mana_Chaos
+    Name: Chaos
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bAddEle,Ele_Dark,10;
+      bonus2 bMagicAtkEle,Ele_Dark,10;
+      bonus2 bSubEle,Ele_Dark,5;
+  - Id: 29132
+    AegisName: Mana_Rise
+    Name: Dawn
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bAddEle,Ele_Holy,10;
+      bonus2 bMagicAtkEle,Ele_Holy,10;
+      bonus2 bSubEle,Ele_Holy,5;
+  - Id: 29133
+    AegisName: Mana_Heal
+    Name: Recover
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus bHealPower,10;
+      bonus bHealPower2,10;
+      bonus bAddItemHealRate,10;
+  - Id: 29134
+    AegisName: Heart_Of_Winner
+    Name: Thoughts of a Champion
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bAddRace,RC_DemiHuman,5;
+      bonus2 bMagicAddRace,RC_DemiHuman,5;
+  - Id: 29135
+    AegisName: Keen1
+    Name: Sharp 1
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus bCritical,3;
+      bonus bCritAtkRate,1;
+  - Id: 29136
+    AegisName: Keen2
+    Name: Sharp 2
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus bCritical,6;
+      bonus bCritAtkRate,2;
+  - Id: 29137
+    AegisName: Keen3
+    Name: Sharp 3
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus bCritical,9;
+      bonus bCritAtkRate,3;
+  - Id: 29138
+    AegisName: Keen4
+    Name: Sharp 4
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus bCritical,12;
+      bonus bCritAtkRate,4;
+  - Id: 29139
+    AegisName: Keen5
+    Name: Sharp 5
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus bCritical,15;
+      bonus bCritAtkRate,5;
   - Id: 29140
     AegisName: Orcish_Hero_Of_Anger
     Name: Anger of the Brave
     Type: Card
     SubType: Enchant
     Script: |
-      autobonus "{ bonus3 bAutoSpell,\"NPC_EARTHQUAKE\",3,1000; }",5,5000,BF_NORMAL,"{ active_transform 1850,5000; }";
+      autobonus "{ bonus3 bAutoSpell,\"NPC_EARTHQUAKE\",3,1000; }",8,5000,BF_WEAPON,"{ active_transform 1850,5000; }";
+  - Id: 29141
+    AegisName: Roar_Of_Baphomet
+    Name: Demon Sheep's Roar
+    Type: Card
+    SubType: Enchant
+    Script: |
+      autobonus "{ bonus3 bAutoSpell,\"NPC_HELLJUDGEMENT\",6,1000; }",8,5000,BF_WEAPON,"{ active_transform 1929,5000; }";
   - Id: 29142
     AegisName: Electric_Effect
     Name: Electric Effect
@@ -46274,25 +46392,39 @@ Body:
       bonus2 bSkillAtk,"SC_FATALMENACE",15;
   - Id: 29619
     AegisName: Shadowchaser_Bottom2
-    Name: Shadow Chaser Stone II (Bottom)
+    Name: Stalker Stone II (Lower)
     Type: Card
     SubType: Enchant
     Script: |
       bonus bHit,getskilllv("TF_MISS");
   - Id: 29620
     AegisName: Shadowchaser_Middle2
-    Name: Shadow Chaser Stone II (Middle)
+    Name: Stalker Stone II (Middle)
     Type: Card
     SubType: Enchant
     Script: |
       bonus2 bSkillAtk,"RG_BACKSTAP",15;
   - Id: 29621
     AegisName: Shadowchaser_Top2
-    Name: Shadow Chaser Stone II (Upper)
+    Name: Stalker Stone II (Upper)
     Type: Card
     SubType: Enchant
     Script: |
       bonus bBaseAtk,2*getskilllv("RG_SNATCHER");
+  - Id: 29647
+    AegisName: Lucky_Amulet7
+    Name: Traitor
+    Type: Card
+    SubType: Enchant
+    Script: |
+      if (readparam(bStr)>=110)
+         bonus2 bSkillCooldown,"RL_SLUGSHOT",-10000;
+      if (readparam(bAgi)>=110)
+         bonus2 bSkillAtk,"RL_R_TRIP",30*(readparam(bAgi)/5);
+      if (readparam(bInt)>=110)
+         bonus2 bSkillCooldown,"RL_HAMMER_OF_GOD",-20000;
+      if (readparam(bLuk)>=110)
+         bonus2 bSkillAtk,"RL_D_TAIL",30*(readparam(bLuk)/5);
   - Id: 29651
     AegisName: Soullinker_Top
     Name: Soul Linker Stone (Upper)
@@ -48585,7 +48717,7 @@ Body:
       bonus bHit,-50;
   - Id: 300140
     AegisName: ILL_Sropho_Card
-    Name: Deep Sea Sropho Card
+    Name: Abysmal Sropho Card
     Type: Card
     Weight: 10
     Locations:
@@ -48603,7 +48735,7 @@ Body:
       }
   - Id: 300141
     AegisName: ILL_Obeaune_Card
-    Name: Deep Sea Obeaune Card
+    Name: Abysmal Obeaune Card
     Type: Card
     Weight: 10
     Locations:
@@ -48614,7 +48746,7 @@ Body:
       bonus bMatk,30;
   - Id: 300142
     AegisName: ILL_Deviace_Card
-    Name: Deep Sea Deviace Card
+    Name: Abysmal Deviace Card
     Type: Card
     Weight: 10
     Locations:
@@ -48633,7 +48765,7 @@ Body:
       }
   - Id: 300143
     AegisName: ILL_Marse_Card
-    Name: Deep Sea Marse Card
+    Name: Abysmal Marse Card
     Type: Card
     Weight: 10
     Locations:
@@ -48645,7 +48777,7 @@ Body:
       bonus2 bSubRace,RC_Insect,15;
   - Id: 300144
     AegisName: ILL_Merman_Card
-    Name: Deep Sea Merman Card
+    Name: Abysmal Merman Card
     Type: Card
     Weight: 10
     Locations:
@@ -48656,7 +48788,7 @@ Body:
       bonus bBaseAtk,4*(readparam(bStr)/15);
   - Id: 300145
     AegisName: ILL_Abysmal_Witch_Card
-    Name: Deep Sea Witch Card
+    Name: Abysmal Witch Card
     Type: Card
     Weight: 10
     Locations:
@@ -48669,7 +48801,7 @@ Body:
       bonus2 bSubEle,Ele_All,-30;
   - Id: 300146
     AegisName: ILL_Sedora_Card
-    Name: Deep Sea Sedora Card
+    Name: Abysmal Sedora Card
     Type: Card
     Weight: 10
     Locations:
@@ -48680,7 +48812,7 @@ Body:
       bonus2 bCriticalAddRace,RC_Fish,30;
   - Id: 300147
     AegisName: ILL_Sword_Fish_Card
-    Name: Deep Sea Swordfish Card
+    Name: Abysmal Swordfish Card
     Type: Card
     Weight: 10
     Locations:
@@ -48696,7 +48828,7 @@ Body:
       }
   - Id: 300148
     AegisName: ILL_Strouf_Card
-    Name: Deep Sea Strouf Card
+    Name: Abysmal Strouf Card
     Type: Card
     Weight: 10
     Locations:
@@ -48712,7 +48844,7 @@ Body:
       }
   - Id: 300149
     AegisName: ILL_Phen_Card
-    Name: Deep Sea Phen Card
+    Name: Abysmal Phen Card
     Type: Card
     Weight: 10
     Locations:
@@ -48724,7 +48856,7 @@ Body:
       bonus2 bMagicAtkEle,Ele_Wind,3*getrefine();
   - Id: 300150
     AegisName: ILL_King_Dramoh_Card
-    Name: Deep Sea King Dramoh Card
+    Name: Abysmal King Dramoh Card
     Type: Card
     Weight: 10
     Locations:
@@ -48738,7 +48870,7 @@ Body:
       bonus bAtkRate,(getrefine()/3);
   - Id: 300151
     AegisName: ILL_Kraken_Card
-    Name: Deep Sea Kraken Card
+    Name: Abysmal Kraken Card
     Type: Card
     Weight: 10
     Locations:
@@ -81508,6 +81640,229 @@ Body:
          bonus bCritAtkRate,(.@param/10);
          bonus bCritical,(.@param/10);
       }
+  - Id: 313269
+    AegisName: aegis_313269
+    Name: Latent Release (Abyss Chaser VII)
+    Type: Card
+    SubType: Enchant
+  - Id: 313289
+    AegisName: aegis_313289
+    Name: Latent Awakening (Duple Light I)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"AB_DUPLELIGHT_MELEE",BaseLevel*2;
+      bonus2 bSkillAtk,"AB_DUPLELIGHT_MAGIC",BaseLevel*2;
+  - Id: 313290
+    AegisName: aegis_313290
+    Name: Latent Awakening (Counter Slash I)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"GC_COUNTERSLASH",BaseLevel/10;
+  - Id: 313292
+    AegisName: aegis_313292
+    Name: Latent Awakening (Rolling Cutter II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"GC_ROLLINGCUTTER",BaseLevel/2;
+  - Id: 313293
+    AegisName: aegis_313293
+    Name: Latent Awakening (Cross Slash II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"KO_JYUMONJIKIRI",BaseLevel/3;
+  - Id: 313294
+    AegisName: aegis_313294
+    Name: Latent Awakening (Swirling Petal II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"KO_HUUMARANKA",BaseLevel/4;
+  - Id: 313295
+    AegisName: aegis_313295
+    Name: Latent Awakening (Shield Press II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"LG_SHIELDPRESS",BaseLevel/2;
+  - Id: 313296
+    AegisName: aegis_313296
+    Name: Latent Awakening (Ray of Genesis II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"LG_RAYOFGENESIS",BaseLevel/3;
+  - Id: 313297
+    AegisName: aegis_313297
+    Name: Latent Awakening (Severe Rainstorm III)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"WM_SEVERE_RAINSTORM",BaseLevel/3;
+  - Id: 313298
+    AegisName: aegis_313298
+    Name: Latent Awakening (Arms Cannon II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"NC_ARMSCANNON",BaseLevel/5;
+  - Id: 313299
+    AegisName: aegis_313299
+    Name: Latent Awakening (Axe Tornado II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"NC_AXETORNADO",BaseLevel/2;
+  - Id: 313300
+    AegisName: aegis_313300
+    Name: Latent Awakening (Axe Boomerang II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"NC_AXEBOOMERANG",BaseLevel/2;
+  - Id: 313301
+    AegisName: aegis_313301
+    Name: Latent Awakening (Arrow Storm III)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RA_ARROWSTORM",BaseLevel/10;
+  - Id: 313302
+    AegisName: aegis_313302
+    Name: Latent Awakening (Aimed Bolt II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RA_AIMEDBOLT",BaseLevel/10;
+  - Id: 313303
+    AegisName: aegis_313303
+    Name: Latent Awakening (Ignition Break III)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RK_IGNITIONBREAK",BaseLevel/2;
+  - Id: 313304
+    AegisName: aegis_313304
+    Name: Latent Awakening (Slug Shot I)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RL_SLUGSHOT",BaseLevel/3;
+  - Id: 313305
+    AegisName: aegis_313305
+    Name: Latent Awakening (Hammer of God I)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RL_HAMMER_OF_GOD",BaseLevel/3;
+  - Id: 313306
+    AegisName: aegis_313306
+    Name: Latent Awakening (Anti-Material Blast I)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RL_AM_BLAST",BaseLevel/3;
+  - Id: 313307
+    AegisName: aegis_313307
+    Name: Latent Awakening (Round Trip II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RL_R_TRIP",BaseLevel/2;
+  - Id: 313308
+    AegisName: aegis_313308
+    Name: Latent Awakening (Fire Rain II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"RL_FIRE_RAIN",BaseLevel/2;
+  - Id: 313309
+    AegisName: aegis_313309
+    Name: Latent Awakening (Triangle Shot II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SC_TRIANGLESHOT",BaseLevel/3;
+  - Id: 313310
+    AegisName: aegis_313310
+    Name: Latent Awakening (Varetyr Spear II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SO_VARETYR_SPEAR",BaseLevel/3;
+  - Id: 313311
+    AegisName: aegis_313311
+    Name: Latent Awakening (Diamond Dust I)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SO_DIAMONDDUST",BaseLevel/3;
+  - Id: 313312
+    AegisName: aegis_313312
+    Name: Latent Awakening (Earth Grave I)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SO_EARTHGRAVE",BaseLevel/3;
+  - Id: 313313
+    AegisName: aegis_313313
+    Name: Latent Awakening (Espa II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SP_SPA",BaseLevel/5;
+  - Id: 313314
+    AegisName: aegis_313314
+    Name: Latent Awakening (Eswoo II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SP_SWHOO",BaseLevel/5;
+  - Id: 313315
+    AegisName: aegis_313315
+    Name: Latent Awakening (Curse Explosion II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SP_CURSEEXPLOSION",BaseLevel/5;
+  - Id: 313316
+    AegisName: aegis_313316
+    Name: Latent Awakening (Lion's Howl II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SR_HOWLINGOFLION",BaseLevel/3;
+  - Id: 313317
+    AegisName: aegis_313317
+    Name: Latent Awakening (Sky Blow II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"SR_SKYNETBLOW",BaseLevel/2;
+  - Id: 313318
+    AegisName: aegis_313318
+    Name: Latent Awakening (Soul Expansion II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"WL_SOULEXPANSION",BaseLevel/5;
+  - Id: 313319
+    AegisName: aegis_313319
+    Name: Latent Awakening (Crimson Rock II)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      bonus2 bSkillAtk,"WL_CRIMSONROCK",BaseLevel/5;
+  - Id: 313320
+    AegisName: aegis_313320
+    Name: Skill Stone (Firewall Lv.10)
+    Type: Card
+    SubType: Enchant
+    Script: |
+      skill "MG_FIREWALL",10;
   - Id: 313324
     AegisName: Biolo_Robe
     Name: Biolo Stone (Garment)

+ 5 - 1
db/re/item_db_usable.yml

@@ -60451,7 +60451,7 @@ Body:
       getitem 526,100; /* Royal Jelly */
   - Id: 23042
     AegisName: Seed_Of_Yggdrasil_
-    Name: "[Not For Sale]Yggdrasil Seed"
+    Name: "[Not For Sale] Yggdrasil Seed"
     Type: Healing
     Weight: 300
     Delay:
@@ -78647,6 +78647,10 @@ Body:
     Name: Costume Enchant Stone Box 35
     Type: Usable
     Weight: 10
+    Flags:
+      Container: true
+    Script: |
+      getgroupitem(IG_ENCHANT_STONE_BOX35);
   - Id: 103095
     AegisName: Kr_B_Special10
     Name: Love Cake

+ 205 - 3
db/re/item_group_db.yml

@@ -51768,7 +51768,7 @@ Body:
             Item: aegis_19868
             Rate: 50
           - Index: 3
-            Item: aegis_410245
+            Item: C_Brother_Keen_Eye
             Rate: 50
           - Index: 4
             Item: C_Foxtail
@@ -51777,7 +51777,7 @@ Body:
             Item: aegis_400496
             Rate: 50
           - Index: 6
-            Item: aegis_420242
+            Item: C_Fluttering_Haze
             Rate: 50
           - Index: 7
             Item: C_Cat_Mouth
@@ -109579,7 +109579,7 @@ Body:
             Item: Small_Mana_Potion
             Amount: 250
           - Index: 1
-            Item: aegis_420304
+            Item: C_NightSkyOfRutie
           - Index: 2
             Item: K_Secret_Key
             Amount: 30
@@ -112975,3 +112975,205 @@ Body:
             Item: E_EXP_Drop_Up_7days
           - Index: 2
             Item: Comp_AID_Buff_Box
+  - Group: ENCHANT_STONE_BOX35
+    SubGroups:
+      - SubGroup: 1
+        List:
+          - Index: 0
+            Item: Range_Stone_Robe_D
+            Rate: 10
+          - Index: 1
+            Item: Melee_Stone_Robe_D
+            Rate: 10
+          - Index: 2
+            Item: Magic_Stone_Robe_D
+            Rate: 10
+          - Index: 3
+            Item: SmatkStone_Robe
+            Rate: 10
+          - Index: 4
+            Item: M_PATKStone_Robe
+            Rate: 10
+          - Index: 5
+            Item: R_PATKStone_Robe
+            Rate: 10
+          - Index: 6
+            Item: ResistDefStone_Robe
+            Rate: 10
+          - Index: 7
+            Item: StaminaWISStone_Robe_D
+            Rate: 10
+          - Index: 8
+            Item: POWStone_Robe_D
+            Rate: 10
+          - Index: 9
+            Item: SplStone_Robe_D
+            Rate: 10
+          - Index: 10
+            Item: ConStone_Robe_D
+            Rate: 10
+          - Index: 11
+            Item: CrtStone_Robe_D
+            Rate: 10
+          - Index: 12
+            Item: aegis_1001615
+            Rate: 10
+          - Index: 13
+            Item: BioloStone_Robe
+            Rate: 10
+          - Index: 14
+            Item: InquisitorStone_Robe
+            Rate: 10
+          - Index: 15
+            Item: SpiritHandlerStone_Robe
+            Rate: 10
+          - Index: 16
+            Item: ReloadStone_Robe_D
+            Rate: 10
+          - Index: 17
+            Item: CriticalStone_Robe_D
+            Rate: 10
+          - Index: 18
+            Item: DoubleAttack_Stone
+            Rate: 20
+          - Index: 19
+            Item: Critical_Stone_Robe
+            Rate: 20
+          - Index: 20
+            Item: CastStone_Robe_D
+            Rate: 40
+          - Index: 21
+            Item: SPdrainStone_Robe_D
+            Rate: 40
+          - Index: 22
+            Item: HPdrainStone_Robe_D
+            Rate: 80
+          - Index: 23
+            Item: ASPDStone_Robe_D
+            Rate: 80
+          - Index: 24
+            Item: CastStone_Robe
+            Rate: 80
+          - Index: 25
+            Item: GeneticStone_Top3
+            Rate: 80
+          - Index: 26
+            Item: GeneticStone_Middle3
+            Rate: 80
+          - Index: 27
+            Item: GeneticStone_Bottom3
+            Rate: 80
+          - Index: 28
+            Item: SuraStone_Top3
+            Rate: 80
+          - Index: 29
+            Item: SuraStone_Middle3
+            Rate: 80
+          - Index: 30
+            Item: SuraStone_Bottom3
+            Rate: 80
+          - Index: 31
+            Item: DoramStone_Top3
+            Rate: 80
+          - Index: 32
+            Item: DoramStone_Middle3
+            Rate: 80
+          - Index: 33
+            Item: DoramStone_Bottom3
+            Rate: 80
+          - Index: 34
+            Item: Stone_Robe_Box
+            Rate: 170
+          - Index: 35
+            Item: Stone_Robe3_Box
+            Rate: 170
+          - Index: 36
+            Item: Magic_Stone_Top
+            Rate: 200
+          - Index: 37
+            Item: Magic_Stone_Middle
+            Rate: 200
+          - Index: 38
+            Item: Magic_Stone_Bottom
+            Rate: 200
+          - Index: 39
+            Item: Range_Stone_Top
+            Rate: 200
+          - Index: 40
+            Item: Range_Stone
+            Rate: 200
+          - Index: 41
+            Item: Range_Stone_Bottom
+            Rate: 200
+          - Index: 42
+            Item: Melee_Stone_Top
+            Rate: 200
+          - Index: 43
+            Item: Melee_Stone_Middle
+            Rate: 200
+          - Index: 44
+            Item: Melee_Stone_Bottom
+            Rate: 200
+          - Index: 45
+            Item: DefenseStone_Top
+            Rate: 200
+          - Index: 46
+            Item: DefenseStone_Middle
+            Rate: 200
+          - Index: 47
+            Item: DefenseStone_Bottom
+            Rate: 200
+          - Index: 48
+            Item: ReloadStone_Top
+            Rate: 200
+          - Index: 49
+            Item: ReloadStone_Middle
+            Rate: 200
+          - Index: 50
+            Item: ReloadStone_Bottom
+            Rate: 200
+          - Index: 51
+            Item: EXPStone_Middle
+            Rate: 200
+          - Index: 52
+            Item: EXPStone_Bottom
+            Rate: 200
+          - Index: 53
+            Item: EXPStone_Top
+            Rate: 200
+          - Index: 54
+            Item: Stone_Top_Box
+            Rate: 400
+          - Index: 55
+            Item: Stone_Top2_Box
+            Rate: 400
+          - Index: 56
+            Item: Stone_Middle_Box
+            Rate: 400
+          - Index: 57
+            Item: Stone_Middle2_Box
+            Rate: 400
+          - Index: 58
+            Item: Stone_Bottom_Box
+            Rate: 400
+          - Index: 59
+            Item: Stone_Bottom2_Box
+            Rate: 400
+          - Index: 60
+            Item: CastingStone_Top
+            Rate: 400
+          - Index: 61
+            Item: CastingStone_Middle
+            Rate: 400
+          - Index: 62
+            Item: CastingStone_Bottom
+            Rate: 400
+          - Index: 63
+            Item: Critical_Stone
+            Rate: 400
+          - Index: 64
+            Item: Critical_Stone_Top
+            Rate: 400
+          - Index: 65
+            Item: Critical_Stone_Bottom
+            Rate: 400

+ 36 - 0
db/re/mob_db.yml

@@ -93806,6 +93806,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Demon
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Fire
     ElementLevel: 3
     WalkSpeed: 150
@@ -93862,6 +93864,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Brute
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Fire
     ElementLevel: 3
     WalkSpeed: 150
@@ -93908,6 +93912,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Undead
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Undead
     ElementLevel: 1
     WalkSpeed: 200
@@ -93954,6 +93960,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Undead
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Undead
     ElementLevel: 1
     WalkSpeed: 190
@@ -94000,6 +94008,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Demon
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Water
     ElementLevel: 2
     WalkSpeed: 250
@@ -94048,6 +94058,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Undead
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Undead
     ElementLevel: 1
     WalkSpeed: 300
@@ -94096,6 +94108,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Undead
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Dark
     ElementLevel: 1
     WalkSpeed: 140
@@ -94144,6 +94158,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Undead
+    RaceGroups:
+      Illusion_Moonlight: true
     Element: Undead
     ElementLevel: 3
     WalkSpeed: 150
@@ -94363,6 +94379,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Demon
+    RaceGroups:
+      Illusion_Frozen: true
     Element: Water
     ElementLevel: 1
     WalkSpeed: 190
@@ -94409,6 +94427,8 @@ Body:
     ChaseRange: 12
     Size: Large
     Race: Formless
+    RaceGroups:
+      Illusion_Frozen: true
     Element: Water
     ElementLevel: 2
     WalkSpeed: 220
@@ -94453,6 +94473,8 @@ Body:
     ChaseRange: 12
     Size: Large
     Race: Formless
+    RaceGroups:
+      Illusion_Frozen: true
     Element: Water
     ElementLevel: 3
     WalkSpeed: 250
@@ -94497,6 +94519,8 @@ Body:
     ChaseRange: 12
     Size: Small
     Race: Formless
+    RaceGroups:
+      Illusion_Frozen: true
     Element: Water
     ElementLevel: 2
     WalkSpeed: 1000
@@ -94550,6 +94574,8 @@ Body:
     ChaseRange: 12
     Size: Large
     Race: Brute
+    RaceGroups:
+      Illusion_Frozen: true
     Element: Water
     ElementLevel: 4
     WalkSpeed: 400
@@ -94593,6 +94619,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Formless
+    RaceGroups:
+      Illusion_Frozen: true
     Element: Neutral
     ElementLevel: 1
     WalkSpeed: 1000
@@ -94621,6 +94649,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Formless
+    RaceGroups:
+      Illusion_Frozen: true
     Element: Neutral
     ElementLevel: 1
     WalkSpeed: 1000
@@ -96615,6 +96645,8 @@ Body:
     ChaseRange: 12
     Size: Large
     Race: Formless
+    RaceGroups:
+      Illusion_Luanda: true
     Element: Neutral
     ElementLevel: 4
     WalkSpeed: 200
@@ -96643,6 +96675,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Demihuman
+    RaceGroups:
+      Illusion_Luanda: true
     Element: Earth
     ElementLevel: 2
     WalkSpeed: 200
@@ -96671,6 +96705,8 @@ Body:
     ChaseRange: 12
     Size: Medium
     Race: Demihuman
+    RaceGroups:
+      Illusion_Luanda: true
     Element: Fire
     ElementLevel: 2
     WalkSpeed: 200

+ 1 - 1
doc/item_bonus.txt

@@ -31,7 +31,7 @@ This list contains all available constants referenced in the 'bonus' commands.
 	RC2_Bio5_Swordman_Thief, RC2_Bio5_Acolyte_Merchant, RC2_Bio5_Mage_Archer, RC2_Bio5_MVP,
 	RC2_Clocktower, RC2_Thanatos, RC2_Faceworm, RC2_Hearthunter, RC2_Rockridge, RC2_Werner_Lab,
 	RC2_Temple_Demon, RC2_Illusion_Vampire, RC2_Malangdo, RC2_EP172ALPHA, RC2_EP172BETA, RC2_EP172BATH,
-	RC2_Illusion_Turtle, RC2_Rachel_Sanctuary, RC2_Illusion_Luanda
+	RC2_Illusion_Turtle, RC2_Rachel_Sanctuary, RC2_Illusion_Luanda, RC2_Illusion_Frozen, RC2_Illusion_Moonlight
 
 * Class (c)
 	Class_Normal, Class_Boss, Class_Guardian, Class_All

+ 2 - 0
sql-files/mob_db.sql

@@ -63,6 +63,8 @@ CREATE TABLE `mob_db` (
   `racegroup_illusion_turtle` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_rachel_sanctuary` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_illusion_luanda` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL,
   `element` varchar(24) DEFAULT NULL,
   `element_level` tinyint(4) unsigned DEFAULT NULL,
   `walk_speed` smallint(6) unsigned DEFAULT NULL,

+ 2 - 0
sql-files/mob_db2.sql

@@ -63,6 +63,8 @@ CREATE TABLE `mob_db2` (
   `racegroup_illusion_turtle` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_rachel_sanctuary` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_illusion_luanda` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL,
   `element` varchar(24) DEFAULT NULL,
   `element_level` tinyint(4) unsigned DEFAULT NULL,
   `walk_speed` smallint(6) unsigned DEFAULT NULL,

+ 2 - 0
sql-files/mob_db2_re.sql

@@ -65,6 +65,8 @@ CREATE TABLE `mob_db2_re` (
   `racegroup_illusion_turtle` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_rachel_sanctuary` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_illusion_luanda` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL,
   `element` varchar(24) DEFAULT NULL,
   `element_level` tinyint(4) unsigned DEFAULT NULL,
   `walk_speed` smallint(6) unsigned DEFAULT NULL,

+ 2 - 0
sql-files/mob_db_re.sql

@@ -65,6 +65,8 @@ CREATE TABLE `mob_db_re` (
   `racegroup_illusion_turtle` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_rachel_sanctuary` tinyint(1) unsigned DEFAULT NULL,
   `racegroup_illusion_luanda` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+  `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL,
   `element` varchar(24) DEFAULT NULL,
   `element_level` tinyint(4) unsigned DEFAULT NULL,
   `walk_speed` smallint(6) unsigned DEFAULT NULL,

+ 16 - 0
sql-files/upgrades/upgrade_20240519.sql

@@ -0,0 +1,16 @@
+ALTER TABLE `mob_db`
+	ADD COLUMN `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+	ADD COLUMN `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL
+;
+ALTER TABLE `mob_db2`
+	ADD COLUMN `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+	ADD COLUMN `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL
+;
+ALTER TABLE `mob_db_re`
+	ADD COLUMN `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+	ADD COLUMN `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL
+;
+ALTER TABLE `mob_db2_re`
+	ADD COLUMN `racegroup_illusion_frozen` tinyint(1) unsigned DEFAULT NULL,
+	ADD COLUMN `racegroup_illusion_moonlight` tinyint(1) unsigned DEFAULT NULL
+;

+ 1 - 0
src/map/itemdb.hpp

@@ -2824,6 +2824,7 @@ enum e_random_item_group {
 	IG_AEGIS_103034,
 	IG_P_BOOSTER_CALL_PACKAGE,
 	IG_P_COMPENSATION_BOX,
+	IG_ENCHANT_STONE_BOX35,
 
 	IG_MAX,
 };

+ 2 - 0
src/map/map.hpp

@@ -366,6 +366,8 @@ enum e_race2 : uint8{
 	RC2_ILLUSION_TURTLE,
 	RC2_RACHEL_SANCTUARY,
 	RC2_ILLUSION_LUANDA,
+	RC2_ILLUSION_FROZEN,
+	RC2_ILLUSION_MOONLIGHT,
 	RC2_MAX
 };
 

+ 1 - 1
src/map/mob.cpp

@@ -5294,7 +5294,7 @@ static int mob_read_sqldb(void)
 	for( uint8 fi = 0; fi < ARRAYLENGTH(mob_db_name); ++fi ) {
 		// retrieve all rows from the mob database
 		if( SQL_ERROR == Sql_Query(mmysql_handle, "SELECT `id`,`name_aegis`,`name_english`,`name_japanese`,`level`,`hp`,`sp`,`base_exp`,`job_exp`,`mvp_exp`,`attack`,`attack2`,`defense`,`magic_defense`,`str`,`agi`,`vit`,`int`,`dex`,`luk`,`attack_range`,`skill_range`,`chase_range`,`size`,`race`,"
-			"`racegroup_goblin`,`racegroup_kobold`,`racegroup_orc`,`racegroup_golem`,`racegroup_guardian`,`racegroup_ninja`,`racegroup_gvg`,`racegroup_battlefield`,`racegroup_treasure`,`racegroup_biolab`,`racegroup_manuk`,`racegroup_splendide`,`racegroup_scaraba`,`racegroup_ogh_atk_def`,`racegroup_ogh_hidden`,`racegroup_bio5_swordman_thief`,`racegroup_bio5_acolyte_merchant`,`racegroup_bio5_mage_archer`,`racegroup_bio5_mvp`,`racegroup_clocktower`,`racegroup_thanatos`,`racegroup_faceworm`,`racegroup_hearthunter`,`racegroup_rockridge`,`racegroup_werner_lab`,`racegroup_temple_demon`,`racegroup_illusion_vampire`,`racegroup_malangdo`,`racegroup_ep172alpha`,`racegroup_ep172beta`,`racegroup_ep172bath`,`racegroup_illusion_turtle`,`racegroup_rachel_sanctuary`,`racegroup_illusion_luanda`,"
+			"`racegroup_goblin`,`racegroup_kobold`,`racegroup_orc`,`racegroup_golem`,`racegroup_guardian`,`racegroup_ninja`,`racegroup_gvg`,`racegroup_battlefield`,`racegroup_treasure`,`racegroup_biolab`,`racegroup_manuk`,`racegroup_splendide`,`racegroup_scaraba`,`racegroup_ogh_atk_def`,`racegroup_ogh_hidden`,`racegroup_bio5_swordman_thief`,`racegroup_bio5_acolyte_merchant`,`racegroup_bio5_mage_archer`,`racegroup_bio5_mvp`,`racegroup_clocktower`,`racegroup_thanatos`,`racegroup_faceworm`,`racegroup_hearthunter`,`racegroup_rockridge`,`racegroup_werner_lab`,`racegroup_temple_demon`,`racegroup_illusion_vampire`,`racegroup_malangdo`,`racegroup_ep172alpha`,`racegroup_ep172beta`,`racegroup_ep172bath`,`racegroup_illusion_turtle`,`racegroup_rachel_sanctuary`,`racegroup_illusion_luanda`,`racegroup_illusion_frozen`,`racegroup_illusion_moonlight`,"
 			"`element`,`element_level`,`walk_speed`,`attack_delay`,`attack_motion`,`damage_motion`,`damage_taken`,`ai`,`class`,"
 			"`mode_canmove`,`mode_looter`,`mode_aggressive`,`mode_assist`,`mode_castsensoridle`,`mode_norandomwalk`,`mode_nocast`,`mode_canattack`,`mode_castsensorchase`,`mode_changechase`,`mode_angry`,`mode_changetargetmelee`,`mode_changetargetchase`,`mode_targetweak`,`mode_randomtarget`,`mode_ignoremelee`,`mode_ignoremagic`,`mode_ignoreranged`,`mode_mvp`,`mode_ignoremisc`,`mode_knockbackimmune`,`mode_teleportblock`,`mode_fixeditemdrop`,`mode_detector`,`mode_statusimmune`,`mode_skillimmune`,"
 			"`mvpdrop1_item`,`mvpdrop1_rate`,`mvpdrop1_option`,`mvpdrop1_index`,`mvpdrop2_item`,`mvpdrop2_rate`,`mvpdrop2_option`,`mvpdrop2_index`,`mvpdrop3_item`,`mvpdrop3_rate`,`mvpdrop3_option`,`mvpdrop3_index`,"

+ 1 - 0
src/map/script.hpp

@@ -2128,6 +2128,7 @@ enum e_hat_effects : int16{
 	HAT_EF_C_BABY_GLOOM,
 	HAT_EF_WINTERNIGHTBELLS,
 	HAT_EF_NIGHTSKYOFRUTIE,
+	HAT_EF_RAINBOW_POISON_MASTER,
 	HAT_EF_MAX
 };
 

+ 4 - 0
src/map/script_constants.hpp

@@ -4242,6 +4242,8 @@
 	export_constant(RC2_ILLUSION_TURTLE);
 	export_constant(RC2_RACHEL_SANCTUARY);
 	export_constant(RC2_ILLUSION_LUANDA);
+	export_constant(RC2_ILLUSION_FROZEN);
+	export_constant(RC2_ILLUSION_MOONLIGHT);
 	export_constant(RC2_MAX);
 
 	/* monster ai */
@@ -7787,6 +7789,7 @@
 	export_constant(IG_AEGIS_103034);
 	export_constant(IG_P_BOOSTER_CALL_PACKAGE);
 	export_constant(IG_P_COMPENSATION_BOX);
+	export_constant(IG_ENCHANT_STONE_BOX35);
 
 	/* unit stop walking */
 	export_constant(USW_NONE);
@@ -10489,6 +10492,7 @@
 	export_constant(HAT_EF_C_BABY_GLOOM);
 	export_constant(HAT_EF_WINTERNIGHTBELLS);
 	export_constant(HAT_EF_NIGHTSKYOFRUTIE);
+	export_constant(HAT_EF_RAINBOW_POISON_MASTER);
 
 	/* pet catch */
 	export_constant(PET_CATCH_UNIVERSAL);

Някои файлове не бяха показани, защото твърде много файлове са промени