Fix incorrect script constants (#7758)

This commit is contained in:
Vincent Stumpf 2023-05-15 11:19:53 -07:00 committed by GitHub
parent fcf0b5d821
commit 016e3570aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -4405,7 +4405,7 @@ Body:
bonus bAspdRate,3; bonus bAspdRate,3;
bonus bAspd,1; bonus bAspd,1;
bonus2 bAddClass,Class_All,-5; bonus2 bAddClass,Class_All,-5;
if (getequiprefinerycnt(EQI_HAND_R) >= 10 && getiteminfo(getequipid(EQI_HAND_R), II_VIEW) == 11) if (getequiprefinerycnt(EQI_HAND_R) >= 10 && getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW) == 11)
bonus bAspd,1; bonus bAspd,1;
- Combos: - Combos:
- Combo: - Combo:
@ -7291,7 +7291,7 @@ Body:
- Tree_Of_Sprout_JP - Tree_Of_Sprout_JP
- Tendrilion_Card - Tendrilion_Card
Script: | Script: |
.@type = getiteminfo(getequipid(EQI_COMPOUND_ON), II_VIEW); .@type = getiteminfo(getequipid(EQI_COMPOUND_ON), ITEMINFO_VIEW);
if (.@type == W_BOOK || .@type == W_STAFF || .@type == W_2HSTAFF) { if (.@type == W_BOOK || .@type == W_STAFF || .@type == W_2HSTAFF) {
bonus2 bMagicAddRace,RC_Player_Human, getequiprefinerycnt(EQI_HAND_R)*2; bonus2 bMagicAddRace,RC_Player_Human, getequiprefinerycnt(EQI_HAND_R)*2;
} }

View File

@ -77117,7 +77117,7 @@ Body:
} }
if (BaseClass == Job_Archer) { if (BaseClass == Job_Archer) {
bonus bDex,3; bonus bDex,3;
if (getiteminfo(getequipid(EQI_HAND_R), II_VIEW) == W_BOW) if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW) == W_BOW)
bonus bLongAtkRate,10; bonus bLongAtkRate,10;
} }
- Id: 18571 - Id: 18571
@ -79413,7 +79413,7 @@ Body:
bonus bInt,3; bonus bInt,3;
bonus bDex,2; bonus bDex,2;
bonus bLuk,1; bonus bLuk,1;
if (getiteminfo(getequipid(EQI_HAND_R), II_VIEW) == W_BOOK) if (getiteminfo(getequipid(EQI_HAND_R), ITEMINFO_VIEW) == W_BOOK)
bonus bVariableCastrate,-3; bonus bVariableCastrate,-3;
- Id: 18702 - Id: 18702
AegisName: Shaving_Cream AegisName: Shaving_Cream