2025/10/24 Update

Renamed and reassociated Expanded Ability hak.
Updated Drow creatures to work with PEPS.
This commit is contained in:
Jaysyn904
2025-10-24 07:34:20 -04:00
parent 051ddf5d7f
commit 9142d652cd
283 changed files with 110 additions and 53 deletions

View File

@@ -1268,7 +1268,7 @@
"__struct_id": 8,
"Mod_Hak": {
"type": "cexostring",
"value": "poa_exp_abilities"
"value": "poa_exp_ability"
}
},
{

View File

@@ -504,6 +504,25 @@
"LIST": {
"type": "list",
"value": [
{
"__struct_id": 0,
"CR": {
"type": "float",
"value": 0.3333333432674408
},
"FACTION": {
"type": "cexostring",
"value": "Merchant"
},
"NAME": {
"type": "cexostring",
"value": "Cat"
},
"RESREF": {
"type": "resref",
"value": "prc_cat001"
}
},
{
"__struct_id": 0,
"CR": {

Binary file not shown.

View File

@@ -64,6 +64,32 @@ void EvolvedUndeadCheck(object oUndead)
}
}
void BuffDrow(object oDrow)
{
effect eEffect;
eEffect = EffectAttackIncrease(5);
eEffect = UnyieldingEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oDrow);
eEffect = EffectACIncrease(4, AC_DODGE_BONUS);
eEffect = UnyieldingEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oDrow);
eEffect = EffectConcealment(30);
eEffect = UnyieldingEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oDrow);
eEffect = EffectVisualEffect(VFX_DUR_PROT_SHADOW_ARMOR);
eEffect = UnyieldingEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eEffect, oDrow);
eEffect = EffectVisualEffect(VFX_IMP_DEATH_WARD);
eEffect = UnyieldingEffect(eEffect);
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oDrow);
}
void main()
{
@@ -79,7 +105,8 @@ void main()
int nGhost = GetIsIncorporeal(OBJECT_SELF);
string sCurrentDate = SQLite_GetSystemDate();
string sMonthDay = GetSubString(sCurrentDate, 0, 5);
string sMonthDay = GetSubString(sCurrentDate, 0, 5);
string sResref = GetResRef(OBJECT_SELF);
object oArea = GetArea(OBJECT_SELF);
int bIsNatural = GetIsAreaNatural(oArea);
@@ -88,6 +115,17 @@ void main()
object oSkelly;
object oPC = GetFirstObjectInArea(oArea);
//:: Buff up epic drow
if(sResref == "drowbattlespider" || sResref == "drowcaptain" || sResref == "drowclric" || sResref == "drowclric001" ||
sResref == "drowclric002" || sResref == "drowclric003" || sResref == "drowclric004" || sResref == "drowclric005" ||
sResref == "drowwarrior002" || sResref == "drowwarrior003" || sResref == "drowwarrior004" || sResref == "drowwarrior005" ||
sResref == "drowwarrior006" || sResref == "drowwarrior1" || sResref == "drowwizard" || sResref == "drowwizard001" ||
sResref == "guratszhousew" || sResref == "khuraanhousew" || sResref == "matlisskhouse" || sResref == "matronkhuraan" ||
sResref == "undeaddrowguard" || sResref == "weaponmastergur" || sResref == "weaponmasterkhu" || sResref == "weaponmastermat")
{
DelayCommand(0.0f, BuffDrow(OBJECT_SELF));
}
//:: Check if the creature is an animal, beast, construct, or ooze, which should never carry treasure
if (iRacial == RACIAL_TYPE_ANIMAL ||
iRacial == RACIAL_TYPE_BEAST ||

View File

@@ -430,7 +430,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",

View File

@@ -332,7 +332,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -900,7 +900,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -916,7 +916,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1437,7 +1437,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1453,7 +1453,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1193,7 +1193,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1209,7 +1209,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1444,7 +1444,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1460,7 +1460,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1519,7 +1519,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1535,7 +1535,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1748,7 +1748,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1764,7 +1764,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1907,7 +1907,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1923,7 +1923,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -712,7 +712,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -728,7 +728,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -785,7 +785,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -801,7 +801,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1052,7 +1052,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1033,7 +1033,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -786,7 +786,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -802,7 +802,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -800,7 +800,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -816,7 +816,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1147,7 +1147,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1163,7 +1163,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1152,7 +1152,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1168,7 +1168,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1145,7 +1145,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1161,7 +1161,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1192,7 +1192,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1208,7 +1208,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1333,7 +1333,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1349,7 +1349,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1245,7 +1245,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1261,7 +1261,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1249,7 +1249,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1265,7 +1265,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1460,7 +1460,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1476,7 +1476,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1428,7 +1428,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -1444,7 +1444,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -940,7 +940,7 @@
},
"ScriptHeartbeat": {
"type": "resref",
"value": "drowbeat"
"value": "nw_c2_default1"
},
"ScriptOnBlocked": {
"type": "resref",
@@ -956,7 +956,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1189,7 +1189,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1129,7 +1129,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",

View File

@@ -1192,7 +1192,7 @@
},
"ScriptSpawn": {
"type": "resref",
"value": "drowspawn"
"value": "nw_c2_default9"
},
"ScriptSpellAt": {
"type": "resref",