diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-15 17:07:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-15 17:07:19 -0300 |
commit | c57c5fdb3f9217c7385d56dd69a4fed864300874 (patch) | |
tree | 948532ab79437ae59ba6b77b6a302be0f7725aaa /db/re | |
parent | bda32038c3a1e95f645baba2caf643fbd79bb4a9 (diff) | |
download | serverdata-c57c5fdb3f9217c7385d56dd69a4fed864300874.tar.gz serverdata-c57c5fdb3f9217c7385d56dd69a4fed864300874.tar.bz2 serverdata-c57c5fdb3f9217c7385d56dd69a4fed864300874.tar.xz serverdata-c57c5fdb3f9217c7385d56dd69a4fed864300874.zip |
Ensure pet "EquipScript" will only be run if pet intimacy is OK
Diffstat (limited to 'db/re')
-rw-r--r-- | db/re/pet_db.conf | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/db/re/pet_db.conf b/db/re/pet_db.conf index c62430747..6fa1daf73 100644 --- a/db/re/pet_db.conf +++ b/db/re/pet_db.conf @@ -91,7 +91,7 @@ pet_db:( ChangeTargetRate: 800 // AL_HEAL (28). petskillsupport(<skill id>, <skill level>, <delay>, <percent hp>, <percent sp>) PetScript: <" petloot 10; petskillsupport(28, 2, 60, 40, 100); "> - EquipScript: <" bonus bLuk,2; bonus bCritical,1; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bLuk,2; bonus bCritical,1;} "> }, { Id: 1005 @@ -115,7 +115,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 1; bonus bDex, 1; "> - EquipScript: <" bonus bDex, 4; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bDex, 4;} "> }, { Id: 1029 @@ -139,7 +139,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; "> - EquipScript: <" bonus bAddStealRate,15; bonus bHPGainValue,1; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bAddStealRate,15; bonus bHPGainValue,1;} "> }, { Id: 1022 @@ -163,7 +163,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; "> - EquipScript: <" bonus bMaxSP,250; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bMaxSP,250;} "> }, { Id: 1030 @@ -187,7 +187,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; "> - EquipScript: <" bonus bMaxHP, 250; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bMaxHP, 250;} "> }, { Id: 1032 @@ -211,7 +211,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 1; bonus bAgi, 1; "> - EquipScript: <" bonus bAgi, 4; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bAgi, 4; } "> }, { Id: 1039 @@ -235,7 +235,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; "> - EquipScript: <" bonus bAspdRate, 5; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bAspdRate, 5; } "> }, { Id: 1049 @@ -259,7 +259,7 @@ pet_db:( DefendRate: 400 ChangeTargetRate: 800 PetScript: <" petskillbonus bLuk, 5, 30, 90; bonus bLuk,1; petloot 2; "> - EquipScript: <" bonus bLuk,4; bonus2 bSPRegenRate,1,10000; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bLuk,4; bonus2 bSPRegenRate,1,10000; } "> }, { Id: 1060 @@ -283,7 +283,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; "> - EquipScript: <" bonus bStr, 4; bonus bAgi, 1; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bStr, 4; bonus bAgi, 1; } "> }, { Id: 1070 @@ -307,7 +307,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; "> - EquipScript: <" bonus bDef, 5; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bDef, 5; } "> }, // TODO: What's the difference from AnimalBones and Bone ? { @@ -332,7 +332,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; bonus bStr, 1; petskillbonus(bVit, 3, 30, 90); "> - EquipScript: <" bonus bStr, 4; bonus2 bHPRegenRate,1,10000; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bStr, 4; bonus2 bHPRegenRate,1,10000; } "> }, { Id: 1191 @@ -356,7 +356,7 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petskillbonus bAgi, 3, 30, 90; petloot 3; bonus bAgi, 1; "> - EquipScript: <" bonus bAgi, 4; bonus2 bSPRegenRate,1,10000; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bAgi, 4; bonus2 bSPRegenRate,1,10000; } "> }, { Id: 1192 @@ -380,6 +380,6 @@ pet_db:( DefendRate: 500 ChangeTargetRate: 850 PetScript: <" petloot 3; bonus bInt, 1; "> - EquipScript: <" bonus bInt, 4; bonus bAgi, 1; "> + EquipScript: <"if (getpetinfo(3) > 900) { bonus bInt, 4; bonus bAgi, 1; } "> }, ) |