Corrected script for some item #22 (#7843)

Thanks to @Atemo
This commit is contained in:
idk-whoami 2023-08-07 19:47:52 +07:00 committed by GitHub
parent 047e5eef6d
commit d75fb9b64e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4744 additions and 154 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -42243,6 +42243,20 @@ Body:
SubType: Enchant
Script: |
autobonus "{ bonus bDelayrate,-70; bonus bVariableCastrate,-70; bonus bUseSPrate,-70; }",30,10000,BF_WEAPON|BF_MAGIC,"{}";
- Id: 27417
AegisName: aegis_27417
Name: 2nd Anniversary Card
Type: Card
Buy: 20
Weight: 10
Locations:
Armor: true
Flags:
BuyingStore: true
DropEffect: CLIENT
Script: |
bonus bAtkRate,3;
bonus bMatkRate,3;
- Id: 29000
AegisName: Neev_INT_1
Name: Rune of Intellect Lv 1
@ -42613,6 +42627,17 @@ Body:
hateffect HAT_EF_LJOSALFAR,true;
UnEquipScript: |
hateffect HAT_EF_LJOSALFAR,false;
- Id: 29045
AegisName: Storm
Name: Gale
Type: Card
SubType: Enchant
Script: |
bonus2 bAddRace,RC_Fish,15;
bonus2 bMagicAddRace,RC_Fish,15;
bonus2 bAddEle,Ele_Water,15;
bonus2 bMagicAddEle,Ele_Water,15;
autobonus "{ bonus bAspdRate,70; bonus bVariableCastrate,-70; bonus bDelayrate,-70; }",5,10000,BF_WEAPON|BF_MAGIC;
- Id: 29046
AegisName: Greed
Name: Greed
@ -48231,6 +48256,20 @@ Body:
bonus2 bSkillAtk,"SU_SVG_SPIRIT",5+.@r;
if (.@r>=10)
bonus2 bSkillAtk,"SU_SVG_SPIRIT",5;
- Id: 300169
AegisName: Lucky_Riceball_C
Name: Meatball Monster Card
Type: Card
Weight: 10
Locations:
Right_Hand: true
Flags:
DropEffect: CLIENT
Script: |
bonus bDelayrate,-2;
bonus bAtkRate,2;
bonus bMatkRate,2;
bonus bMaxHPrate,1;
- Id: 300170
AegisName: MD_Airboat_Card
Name: Rotten Tree Card
@ -48560,7 +48599,7 @@ Body:
Script: |
bonus bDelayrate,-5;
bonus bPAtk,1;
bonus bSmatk,1;
bonus bSMatk,1;
- Id: 300194
AegisName: SLD_V_Kimera_Card
Name: Sealed Venomous Chimera Card
@ -49076,7 +49115,7 @@ Body:
Flags:
DropEffect: CLIENT
Script: |
bonus2 bIgnoreMDefRaceRate,RC_Brute,15;
bonus2 bIgnoreMdefRaceRate,RC_Brute,15;
bonus2 bMagicAddRace,RC_Brute,5*(getrefine()/2);
- Id: 300238
AegisName: ILL_Vitata_Card
@ -51994,9 +52033,55 @@ Body:
Script: |
bonus bShortAtkRate,30+5*(getrefine()/3);
bonus bCritical,-5*(readparam(bLuk)/20);
if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_ARMORLEVEL)==2) {
if (getiteminfo(getequipid(EQI_GARMENT), ITEMINFO_ARMORLEVEL)==2) {
bonus2 bAddClass,Class_Boss,10;
}
- Id: 300479
AegisName: aegis_300479
Name: "[3rd Anniversary] Agony of Royal Knight Card"
Type: Card
Weight: 10
Locations:
Head_Top: true
Head_Mid: true
Head_Low: true
Flags:
BuyingStore: true
DropEffect: CLIENT
Script: |
.@r = getrefine();
bonus bHit,-30;
bonus2 bAddEle,Ele_Fire,3*(.@r/2);
bonus2 bAddEle,Ele_Dark,3*(.@r/2);
- Id: 300480
AegisName: aegis_300480
Name: "[3rd Anniversary] Grudge of Royal Knight Card"
Type: Card
Weight: 10
Locations:
Garment: true
Flags:
BuyingStore: true
DropEffect: CLIENT
Script: |
.@r = getrefine();
bonus2 bSubEle,Ele_All,-30;
bonus2 bMagicAddRace,RC_DemiHuman,5*.@r;
bonus2 bMagicAddRace,RC_Demon,5*.@r;
- Id: 300481
AegisName: aegis_300481
Name: "[3rd Anniversary] Himmelmez Card"
Type: Card
Weight: 10
Locations:
Shoes: true
Flags:
BuyingStore: true
DropEffect: CLIENT
Script: |
.@r = getrefine();
bonus bMaxHPrate,(min(15,.@r)*2);
bonus bMaxSPrate,(min(15,.@r)*2);
- Id: 310000
AegisName: Ranger_Top2
Name: Sniper Stone II (Top)
@ -58112,7 +58197,7 @@ Body:
bonus bPAtk,3*.@param;
if (.@g >= ENCHANTGRADE_A) {
bonus bCritAtkRate,3*.@param;
bonus bCrate,.@param;
bonus bCRate,.@param;
}
}
}
@ -58217,7 +58302,7 @@ Body:
bonus bMaxSPrate,.@param;
bonus bHealPower,2*.@param;
if (.@g >= ENCHANTGRADE_A) {
bonus bHplus,.@param;
bonus bHPlus,.@param;
bonus bMaxSPrate,.@param;
}
}
@ -58242,10 +58327,10 @@ Body:
bonus bHealPower,2*.@param;
if (.@g >= ENCHANTGRADE_B) {
bonus bSPrecovRate,2*.@param;
bonus bHplus,.@param;
bonus bHPlus,.@param;
bonus bMaxSPrate,.@param;
if (.@g >= ENCHANTGRADE_A) {
bonus bHplus,2*.@param;
bonus bHPlus,2*.@param;
bonus bMaxSPrate,2*.@param;
}
}
@ -58270,10 +58355,10 @@ Body:
bonus bHealPower,2*.@param;
if (.@g >= ENCHANTGRADE_B) {
bonus bSPrecovRate,3*.@param;
bonus bHplus,2*.@param;
bonus bHPlus,2*.@param;
bonus bMaxSPrate,2*.@param;
if (.@g >= ENCHANTGRADE_A) {
bonus bHplus,3*.@param;
bonus bHPlus,3*.@param;
bonus bMaxSPrate,2*.@param;
}
}
@ -58407,7 +58492,7 @@ Body:
Script: |
bonus bCritAtkRate,15;
bonus bCritical,8;
bonus bCrate,1;
bonus bCRate,1;
bonus bPAtk,2;
- Id: 310707
AegisName: Star_Of_Spell1
@ -58502,7 +58587,7 @@ Body:
Script: |
bonus bMaxHPrate,2;
bonus bRes,1;
bonus bMres,1;
bonus bMRes,1;
- Id: 310718
AegisName: Star_Of_Vital2
Name: Star of Vital Lv2
@ -58511,7 +58596,7 @@ Body:
Script: |
bonus bMaxHPrate,3;
bonus bRes,2;
bonus bMres,2;
bonus bMRes,2;
- Id: 310719
AegisName: Star_Of_Vital3
Name: Star of Vital Lv3
@ -58520,7 +58605,7 @@ Body:
Script: |
bonus bMaxHPrate,5;
bonus bRes,4;
bonus bMres,4;
bonus bMRes,4;
- Id: 310720
AegisName: Star_Of_Vital4
Name: Star of Vital Lv4
@ -58529,7 +58614,7 @@ Body:
Script: |
bonus bMaxHPrate,7;
bonus bRes,6;
bonus bMres,6;
bonus bMRes,6;
- Id: 310721
AegisName: Star_Of_Vital5
Name: Star of Vital Lv5
@ -58538,7 +58623,7 @@ Body:
Script: |
bonus bMaxHPrate,10;
bonus bRes,10;
bonus bMres,10;
bonus bMRes,10;
- Id: 310722
AegisName: Star_Of_Spirit1
Name: Star of Spirit Lv1
@ -58565,7 +58650,7 @@ Body:
Script: |
bonus bHealPower,10;
bonus bMaxSPrate,5;
bonus bHplus,1;
bonus bHPlus,1;
bonus bSPrecovRate,15;
- Id: 310725
AegisName: Star_Of_Spirit4
@ -58575,7 +58660,7 @@ Body:
Script: |
bonus bHealPower,10;
bonus bMaxSPrate,7;
bonus bHplus,3;
bonus bHPlus,3;
bonus bSPrecovRate,15;
- Id: 310726
AegisName: Star_Of_Spirit5
@ -58585,7 +58670,7 @@ Body:
Script: |
bonus bHealPower,15;
bonus bMaxSPrate,10;
bonus bHplus,5;
bonus bHPlus,5;
bonus bSPrecovRate,20;
- Id: 310727
AegisName: Nebula_Of_FS1
@ -59603,7 +59688,7 @@ Body:
bonus bMaxSPrate,.@param;
bonus bHealPower,2*.@param;
if (.@g >= ENCHANTGRADE_A) {
bonus bHplus,.@param;
bonus bHPlus,.@param;
bonus bMaxSPrate,2*.@param;
}
}
@ -59627,10 +59712,10 @@ Body:
bonus bMaxSPrate,.@param;
bonus bHealPower,2*.@param;
if (.@g >= ENCHANTGRADE_B) {
bonus bHplus,.@param;
bonus bHPlus,.@param;
bonus bMaxSPrate,.@param;
if (.@g >= ENCHANTGRADE_A) {
bonus bHplus,2*.@param;
bonus bHPlus,2*.@param;
bonus bMaxSPrate,2*.@param;
}
}
@ -61002,28 +61087,28 @@ Body:
Type: Card
SubType: Enchant
Script: |
bonus bCrate,1;
bonus bCRate,1;
- Id: 311089
AegisName: CRATE_Lv2
Name: C.RATE Lv2
Type: Card
SubType: Enchant
Script: |
bonus bCrate,2;
bonus bCRate,2;
- Id: 311090
AegisName: HPLUS_Lv1
Name: H.PLUS Lv1
Type: Card
SubType: Enchant
Script: |
bonus bHplus,1;
bonus bHPlus,1;
- Id: 311091
AegisName: HPLUS_Lv2
Name: H.PLUS Lv2
Type: Card
SubType: Enchant
Script: |
bonus bHplus,2;
bonus bHPlus,2;
- Id: 311092
AegisName: Ice_F_Orb_Str
Name: Ice Magic Orb (STR)

View File

@ -3535,6 +3535,15 @@ Body:
BuyingStore: true
Script: |
itemheal 325,0;
- Id: 11562
AegisName: Pie_Fruit
Name: Pie Fruit
Type: Healing
Weight: 30
Flags:
BuyingStore: true
Script: |
itemheal rand(65,90),rand(35,40);
- Id: 11563
AegisName: Hot_Tee
Name: Hot Tea
@ -53640,21 +53649,20 @@ Body:
getitem 23042,30;
- Id: 23044
AegisName: Elvira_Candy
Name: Elvira Candy # !todo check english name
Name: Elvira Candy
Type: Usable
Weight: 10
Delay:
Duration: 10000
Duration: 60000
Flags:
BuyingStore: true
Script: |
specialeffect2 EF_HEAL3;
sc_end SC_SILENCE;
sc_end SC_BLEEDING;
sc_end SC_POISON;
sc_end SC_CURSE;
sc_end SC_ORCISH;
sc_end SC_CHANGEUNDEAD;
sc_end SC_CURSEDCIRCLE;
sc_end SC_SLOWCAST;
sc_end SC_CRITICALWOUND;
sc_end SC_CRYSTALIZE;
/*Todo Howling Effect And Sit Effect From Skill*/
- Id: 23045
AegisName: Mont_Blanc_Cake
Name: Mont Blanc