diff --git a/_module/are/lower_catacombs.are.json b/_module/are/lower_catacombs.are.json index cd3ae7f9..927fece3 100644 --- a/_module/are/lower_catacombs.are.json +++ b/_module/are/lower_catacombs.are.json @@ -2917,7 +2917,7 @@ }, "Version": { "type": "dword", - "value": 35 + "value": 36 }, "Width": { "type": "int", diff --git a/_module/are/upper_catacombs.are.json b/_module/are/upper_catacombs.are.json index 86e9e645..c5e88213 100644 --- a/_module/are/upper_catacombs.are.json +++ b/_module/are/upper_catacombs.are.json @@ -2917,7 +2917,7 @@ }, "Version": { "type": "dword", - "value": 27 + "value": 28 }, "Width": { "type": "int", diff --git a/_module/gic/lower_catacombs.gic.json b/_module/gic/lower_catacombs.gic.json index 32c15b55..e0361baa 100644 --- a/_module/gic/lower_catacombs.gic.json +++ b/_module/gic/lower_catacombs.gic.json @@ -222,6 +222,20 @@ "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." } }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." + } + }, { "__struct_id": 5, "Comment": { diff --git a/_module/gic/upper_catacombs.gic.json b/_module/gic/upper_catacombs.gic.json index f68831d2..f74a40bc 100644 --- a/_module/gic/upper_catacombs.gic.json +++ b/_module/gic/upper_catacombs.gic.json @@ -244,6 +244,20 @@ "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." } }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." + } + }, + { + "__struct_id": 5, + "Comment": { + "type": "cexostring", + "value": "This is the default waypoint you may place to set a patrol path for a creature or NPC.\r\n1. Create the creature and either use its current Tag or fill in a new one.\r\n2. Place or make sure the WalkWayPoints() is within the body of the On Spawn script for the creature.\r\n3. Place a series of waypoints along the route you wish the creature to walk.\r\n4. Select all of the newly created waypoints and right click. Choose the Create Set option.\r\n5. The waypoint set will have a set name of \"WP_\" + NPC Tag. Thus if an NPC with the Tag \"Guard\" will have a waypoint set called \"WP_Guard\". Note that Tags are case sensitive." + } + }, { "__struct_id": 5, "Comment": { diff --git a/_module/git/lower_catacombs.git.json b/_module/git/lower_catacombs.git.json index a26a4477..d73c48e9 100644 --- a/_module/git/lower_catacombs.git.json +++ b/_module/git/lower_catacombs.git.json @@ -1467,7 +1467,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.092487335205078 + "value": -3.09248685836792 }, "X": { "type": "float", @@ -1505,7 +1505,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 0.9817424416542053 + "value": 0.9817423224449158 }, "X": { "type": "float", @@ -2294,7 +2294,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -2.896137475967407 + "value": -2.896136999130249 }, "X": { "type": "float", @@ -2839,7 +2839,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 3.043399572372437 + "value": 3.043399333953857 }, "X": { "type": "float", @@ -3399,7 +3399,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141574382781982 + "value": -3.141573905944824 }, "X": { "type": "float", @@ -3662,7 +3662,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 2.896137475967407 + "value": 2.896136999130249 }, "X": { "type": "float", @@ -7024,7 +7024,7 @@ }, "XPosition": { "type": "float", - "value": 55.10798263549805 + "value": 55.28360366821289 }, "YOrientation": { "type": "float", @@ -7032,11 +7032,11 @@ }, "YPosition": { "type": "float", - "value": 69.85556793212891 + "value": 71.91189575195313 }, "ZPosition": { "type": "float", - "value": 0.2000000029802322 + "value": 0.1999980956315994 } }, { @@ -7468,6 +7468,134 @@ "type": "float", "value": 0.1999905109405518 } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 1 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 1 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "To Halls of Horror", + "id": 14817 + } + }, + "MapNote": { + "type": "cexolocstring", + "value": { + "0": "Halls of Horror" + } + }, + "MapNoteEnabled": { + "type": "byte", + "value": 1 + }, + "Tag": { + "type": "cexostring", + "value": "MAP_HALLS_OF_HORROR" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_waypoint001" + }, + "XOrientation": { + "type": "float", + "value": 0.0 + }, + "XPosition": { + "type": "float", + "value": 44.91806793212891 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": 67.55226135253906 + }, + "ZPosition": { + "type": "float", + "value": 0.2000002264976502 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 1 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 1 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "To Umber Maze", + "id": 14817 + } + }, + "MapNote": { + "type": "cexolocstring", + "value": { + "0": "Umber Maze" + } + }, + "MapNoteEnabled": { + "type": "byte", + "value": 1 + }, + "Tag": { + "type": "cexostring", + "value": "MAP_UMBER_MAZE" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_waypoint001" + }, + "XOrientation": { + "type": "float", + "value": 1.541428310757299e-043 + }, + "XPosition": { + "type": "float", + "value": 51.78166198730469 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": 4.207133769989014 + }, + "ZPosition": { + "type": "float", + "value": 0.1999980956315994 + } } ] } diff --git a/_module/git/upper_catacombs.git.json b/_module/git/upper_catacombs.git.json index e8c24326..f607987e 100644 --- a/_module/git/upper_catacombs.git.json +++ b/_module/git/upper_catacombs.git.json @@ -1196,7 +1196,7 @@ }, "Orientation": { "type": "float", - "value": 3.09248685836792 + "value": 3.092486381530762 }, "X": { "type": "float", @@ -2836,7 +2836,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -2.945225238800049 + "value": -2.945224761962891 }, "X": { "type": "float", @@ -3137,7 +3137,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -3.141574382781982 + "value": -3.141573905944824 }, "X": { "type": "float", @@ -4189,7 +4189,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": -2.994312763214111 + "value": -2.994312286376953 }, "X": { "type": "float", @@ -4715,7 +4715,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 2.797963380813599 + "value": 2.79796290397644 }, "X": { "type": "float", @@ -5260,7 +5260,7 @@ "__struct_id": 2, "Orientation": { "type": "float", - "value": 3.09248685836792 + "value": 3.092486381530762 }, "X": { "type": "float", @@ -8021,7 +8021,7 @@ }, "Tag": { "type": "cexostring", - "value": "NW_WAYPOINT001" + "value": "NW_AnduinsChapel" }, "TemplateResRef": { "type": "resref", @@ -8033,7 +8033,7 @@ }, "XPosition": { "type": "float", - "value": 4.853821277618408 + "value": 5.056692123413086 }, "YOrientation": { "type": "float", @@ -8041,11 +8041,11 @@ }, "YPosition": { "type": "float", - "value": 9.506624221801758 + "value": 8.018902778625488 }, "ZPosition": { "type": "float", - "value": 0.199999526143074 + "value": 0.1999980956315994 } }, { @@ -8085,7 +8085,7 @@ }, "Tag": { "type": "cexostring", - "value": "NW_WAYPOINT001" + "value": "NW_LowerCatacombs" }, "TemplateResRef": { "type": "resref", @@ -8097,7 +8097,7 @@ }, "XPosition": { "type": "float", - "value": 64.80991363525391 + "value": 64.94515228271484 }, "YOrientation": { "type": "float", @@ -8105,11 +8105,11 @@ }, "YPosition": { "type": "float", - "value": 29.14172554016113 + "value": 27.51882171630859 }, "ZPosition": { "type": "float", - "value": 0.2000001668930054 + "value": 0.0783112645149231 } }, { @@ -8477,6 +8477,134 @@ "type": "float", "value": 0.1999905109405518 } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 1 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 1 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "Waypoint", + "id": 14817 + } + }, + "MapNote": { + "type": "cexolocstring", + "value": { + "0": "Halls of Horror" + } + }, + "MapNoteEnabled": { + "type": "byte", + "value": 1 + }, + "Tag": { + "type": "cexostring", + "value": "NW_HallsofHorror" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_waypoint001" + }, + "XOrientation": { + "type": "float", + "value": 0.0 + }, + "XPosition": { + "type": "float", + "value": 44.84070587158203 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": 28.01929473876953 + }, + "ZPosition": { + "type": "float", + "value": 0.2000002264976502 + } + }, + { + "__struct_id": 5, + "Appearance": { + "type": "byte", + "value": 1 + }, + "Description": { + "type": "cexolocstring", + "value": {} + }, + "HasMapNote": { + "type": "byte", + "value": 1 + }, + "LinkedTo": { + "type": "cexostring", + "value": "" + }, + "LocalizedName": { + "type": "cexolocstring", + "value": { + "0": "Waypoint", + "id": 14817 + } + }, + "MapNote": { + "type": "cexolocstring", + "value": { + "0": "Umber Maze" + } + }, + "MapNoteEnabled": { + "type": "byte", + "value": 1 + }, + "Tag": { + "type": "cexostring", + "value": "NW_UmberMaze" + }, + "TemplateResRef": { + "type": "resref", + "value": "nw_waypoint001" + }, + "XOrientation": { + "type": "float", + "value": 1.541428310757299e-043 + }, + "XPosition": { + "type": "float", + "value": 35.42811965942383 + }, + "YOrientation": { + "type": "float", + "value": 1.0 + }, + "YPosition": { + "type": "float", + "value": 74.96683502197266 + }, + "ZPosition": { + "type": "float", + "value": -1.325878858566284 + } } ] } diff --git a/_module/ncs/cursetrigger.ncs b/_module/ncs/cursetrigger.ncs index 2bfbbc3f..0fa004d7 100644 Binary files a/_module/ncs/cursetrigger.ncs and b/_module/ncs/cursetrigger.ncs differ diff --git a/_module/ncs/darktrigger2a.ncs b/_module/ncs/darktrigger2a.ncs index 0d166dc2..025fa0b7 100644 Binary files a/_module/ncs/darktrigger2a.ncs and b/_module/ncs/darktrigger2a.ncs differ diff --git a/_module/ncs/re_widget9.ncs b/_module/ncs/re_widget9.ncs index 3af13245..1005b0cf 100644 Binary files a/_module/ncs/re_widget9.ncs and b/_module/ncs/re_widget9.ncs differ diff --git a/_module/ncs/s_trashnresttemp.ncs b/_module/ncs/s_trashnresttemp.ncs index 27af1702..ad091d54 100644 Binary files a/_module/ncs/s_trashnresttemp.ncs and b/_module/ncs/s_trashnresttemp.ncs differ diff --git a/_module/ncs/sf_wingwand.ncs b/_module/ncs/sf_wingwand.ncs index 43b1f98d..edbcd395 100644 Binary files a/_module/ncs/sf_wingwand.ncs and b/_module/ncs/sf_wingwand.ncs differ diff --git a/_module/ncs/silenttrigger.ncs b/_module/ncs/silenttrigger.ncs index 9e22b5b0..728e58e1 100644 Binary files a/_module/ncs/silenttrigger.ncs and b/_module/ncs/silenttrigger.ncs differ diff --git a/_module/ncs/spawnb_cc_activ.ncs b/_module/ncs/spawnb_cc_activ.ncs index de4d1662..b571555b 100644 Binary files a/_module/ncs/spawnb_cc_activ.ncs and b/_module/ncs/spawnb_cc_activ.ncs differ diff --git a/_module/ncs/spawnb_cc_dactiv.ncs b/_module/ncs/spawnb_cc_dactiv.ncs index 7e94385e..77e80d77 100644 Binary files a/_module/ncs/spawnb_cc_dactiv.ncs and b/_module/ncs/spawnb_cc_dactiv.ncs differ diff --git a/_module/nss/cursetrigger.nss b/_module/nss/cursetrigger.nss index c904324e..f1124078 100644 --- a/_module/nss/cursetrigger.nss +++ b/_module/nss/cursetrigger.nss @@ -9,6 +9,6 @@ void main() if (GetIsObjectValid(oCreature) == TRUE && GetIsPC(oCreature) == TRUE) { ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectCurse(), oCreature, 90.0f); - SendMessageToPC(oCreature, "The very air you breath in these catacombs is cursed."); + SendMessageToPC(oCreature, "The very air you breathe in these catacombs is cursed."); } } diff --git a/_module/nss/s_trashnresttemp.nss b/_module/nss/s_trashnresttemp.nss index 271bd4b8..b08a95e7 100644 --- a/_module/nss/s_trashnresttemp.nss +++ b/_module/nss/s_trashnresttemp.nss @@ -1,13 +1,16 @@ - - void main() { - object oArea = GetArea(OBJECT_SELF); - // place here the % chance of rest being interruped excample here 33% chance of rest being interuped - SetLocalInt(oArea, "nMonChance",30); - // place here the blueprint refrenfrence tag of the creature you wish to attack them - // or place the word CUSTOM which will send a 201 event to the area starting your won script - // here it is a goblin - SetLocalString(oArea, "sMonster","nw_skelwarr01"); -} + + // If the entering creature is an undead and not a player + if (GetRacialType(OBJECT_SELF) == RACIAL_TYPE_UNDEAD && !GetIsPC(OBJECT_SELF)) + { + effect eUltravision = EffectUltravision(); + eUltravision = SupernaturalEffect(eUltravision); + ApplyEffectToObject(DURATION_TYPE_PERMANENT, eUltravision, OBJECT_SELF); + } + + // Set area parameters + SetLocalInt(oArea, "nMonChance", 30); // 30% chance of rest being interrupted + SetLocalString(oArea, "sMonster", "nw_skelwarr01"); // Monster blueprint or "CUSTOM" +} \ No newline at end of file diff --git a/_module/utc/cryptchanter001.utc.json b/_module/utc/cryptchanter001.utc.json index a5f8b4dc..f9cc292e 100644 --- a/_module/utc/cryptchanter001.utc.json +++ b/_module/utc/cryptchanter001.utc.json @@ -706,7 +706,7 @@ }, "Value": { "type": "cexostring", - "value": "no_spn_wiz" + "value": "no_spn_melcast2" } }, { diff --git a/_module/utc/cryptchanter002.utc.json b/_module/utc/cryptchanter002.utc.json index 1cecac0c..5dcde39b 100644 --- a/_module/utc/cryptchanter002.utc.json +++ b/_module/utc/cryptchanter002.utc.json @@ -720,7 +720,7 @@ }, "Value": { "type": "cexostring", - "value": "no_spn_wiz" + "value": "no_spn_melcast2" } }, { diff --git a/_module/utc/cryptchanter003.utc.json b/_module/utc/cryptchanter003.utc.json index b63f2059..65fd5709 100644 --- a/_module/utc/cryptchanter003.utc.json +++ b/_module/utc/cryptchanter003.utc.json @@ -727,7 +727,7 @@ }, "Value": { "type": "cexostring", - "value": "no_spn_wiz" + "value": "no_spn_melcast2" } }, { diff --git a/_module/utc/haunt.utc.json b/_module/utc/haunt.utc.json index 35b5139e..2c8e7acd 100644 --- a/_module/utc/haunt.utc.json +++ b/_module/utc/haunt.utc.json @@ -97,6 +97,13 @@ "type": "resref", "value": "nw_it_crewpp001" } + }, + { + "__struct_id": 131072, + "EquippedRes": { + "type": "resref", + "value": "nw_it_creitemunh" + } } ] },