Crown breaks no longer kill all players.

Crown breaks no longer kill all players.  MoaD is more !FUN!  Updated release archive.
This commit is contained in:
Jaysyn904 2024-06-11 13:39:14 -04:00
parent 02b3d3f14e
commit 2599ac63a5
17 changed files with 43 additions and 42 deletions

View File

@ -843,13 +843,17 @@
} }
] ]
}, },
"TileBrdrDisabled": {
"type": "byte",
"value": 0
},
"Tileset": { "Tileset": {
"type": "resref", "type": "resref",
"value": "tdm01" "value": "tdm01"
}, },
"Version": { "Version": {
"type": "dword", "type": "dword",
"value": 22 "value": 23
}, },
"Width": { "Width": {
"type": "int", "type": "int",

View File

@ -6357,7 +6357,7 @@
}, },
"Version": { "Version": {
"type": "dword", "type": "dword",
"value": 509 "value": 510
}, },
"Width": { "Width": {
"type": "int", "type": "int",

View File

@ -1532,7 +1532,7 @@
"__struct_id": 0, "__struct_id": 0,
"CR": { "CR": {
"type": "float", "type": "float",
"value": 358.0 "value": 175.0
}, },
"FACTION": { "FACTION": {
"type": "cexostring", "type": "cexostring",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -11,35 +11,31 @@
//:: Created By: Preston Watamaniuk //:: Created By: Preston Watamaniuk
//:: Created On: Oct 16, 2001 //:: Created On: Oct 16, 2001
//::////////////////////////////////////////////// //:://////////////////////////////////////////////
#include "NW_I0_GENERIC" #include "NW_I0_GENERIC"
void main() void main()
{ {
ExecuteScript("prc_npc_combat", OBJECT_SELF);
RemoveEffect(OBJECT_SELF, EffectKnockdown()); RemoveEffect(OBJECT_SELF, EffectKnockdown());
int stop = Random(20);
if (stop <= 2){
AssignCommand(OBJECT_SELF, ClearAllActions());
AssignCommand(OBJECT_SELF, ActionCastSpellAtObject(SPELL_TIME_STOP, OBJECT_SELF, METAMAGIC_MAXIMIZE, TRUE, 40, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
DelayCommand(1.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(3.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY,OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(6.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(9.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(12.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(15.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(18.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
} else{
DetermineCombatRound();
}
}
int stop = Random(20);
if (stop <= 2)
{
AssignCommand(OBJECT_SELF, ClearAllActions());
AssignCommand(OBJECT_SELF, ActionCastSpellAtObject(SPELL_TIME_STOP, OBJECT_SELF, METAMAGIC_MAXIMIZE, TRUE, 40, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
DelayCommand(1.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(3.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(6.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(9.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(12.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(15.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
DelayCommand(18.0, AssignCommand(OBJECT_SELF, ActionAttack(GetNearestCreature(CREATURE_TYPE_REPUTATION,REPUTATION_TYPE_ENEMY, OBJECT_SELF, 1, CREATURE_TYPE_IS_ALIVE))));
}
else
{
DetermineCombatRound();
}
}

View File

@ -51,8 +51,8 @@ while (party != OBJECT_INVALID)
DelayCommand(4.0, SendMessageToPC(oWarn, "The Immortal Crown Has Been Destroyed!!!!!!!!.")); DelayCommand(4.0, SendMessageToPC(oWarn, "The Immortal Crown Has Been Destroyed!!!!!!!!."));
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_TIME_STOP), lVis, 5.0); ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_TIME_STOP), lVis, 5.0);
DelayCommand(5.0, SendMessageToPC(oWarn, "Suddenly, You feel The Life Energy Being Sucked From You!!!!!.")); DelayCommand(5.0, SendMessageToPC(oWarn, "Suddenly, You feel The Life Energy Being Sucked From You!!!!!."));
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(5000, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_PLUS_FIVE), oWarn); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(5, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_PLUS_FIVE), oWarn);
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_IMPLOSION), lVis, 5.0); ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_SCREEN_BUMP), lVis, 5.0);
} }
oWarn = GetNextPC(); oWarn = GetNextPC();

View File

@ -38,9 +38,6 @@ const int EVENT_USER_DEFINED_POSTSPAWN = 1511;
const string NWNX_DISCORD_URL = "/api/webhooks/709533785091342397/8Rsb8-or0Ticc5xDNxLP2tldtx_vPR4Zqu41rs_KzNq5stylkMECcEAIdEDDVXteaQmO/slack"; const string NWNX_DISCORD_URL = "/api/webhooks/709533785091342397/8Rsb8-or0Ticc5xDNxLP2tldtx_vPR4Zqu41rs_KzNq5stylkMECcEAIdEDDVXteaQmO/slack";
void main() void main()
{ {
string sTag; string sTag;

View File

@ -188,6 +188,7 @@ void Respawn(object oPlayer)
void main() void main()
{ {
ExecuteScript("prc_ondeath", OBJECT_SELF); ExecuteScript("prc_ondeath", OBJECT_SELF);
//Declare Major Variables... //Declare Major Variables...
object oPlayer = GetLastPlayerDied(); object oPlayer = GetLastPlayerDied();
object oPC = GetLastPlayerDied(); object oPC = GetLastPlayerDied();

View File

@ -15,8 +15,9 @@ Likewise players cannot equipt items tagnamed "arena" outside of the arena.
//Main Script //Main Script
void main() void main()
{ {
ExecuteScript("prc_equip", OBJECT_SELF); ExecuteScript("prc_equip", OBJECT_SELF);
//Declare Major Variables
//:: Declare Major Variables
object oItem = GetPCItemLastEquipped(); object oItem = GetPCItemLastEquipped();
object oPC = GetPCItemLastEquippedBy(); object oPC = GetPCItemLastEquippedBy();
int nSlot; int nSlot;

View File

@ -12,6 +12,8 @@
void RndDropGold(object oSelf, object oKiller); void RndDropGold(object oSelf, object oKiller);
void RndDropGear(object oSelf, object oKiller);
void RndDropGold(object oSelf, object oKiller) void RndDropGold(object oSelf, object oKiller)
{ {
//:: Declare major variables //:: Declare major variables

View File

@ -2,7 +2,7 @@
"__data_type": "UTC ", "__data_type": "UTC ",
"Appearance_Type": { "Appearance_Type": {
"type": "word", "type": "word",
"value": 45 "value": 583
}, },
"BodyBag": { "BodyBag": {
"type": "byte", "type": "byte",
@ -14,7 +14,7 @@
}, },
"ChallengeRating": { "ChallengeRating": {
"type": "float", "type": "float",
"value": 358.0 "value": 175.0
}, },
"ClassList": { "ClassList": {
"type": "list", "type": "list",
@ -937,7 +937,7 @@
}, },
"PortraitId": { "PortraitId": {
"type": "word", "type": "word",
"value": 194 "value": 191
}, },
"Race": { "Race": {
"type": "byte", "type": "byte",
@ -969,7 +969,7 @@
}, },
"ScriptEndRound": { "ScriptEndRound": {
"type": "resref", "type": "resref",
"value": "x2_def_endcombat" "value": "dragonstop2"
}, },
"ScriptHeartbeat": { "ScriptHeartbeat": {
"type": "resref", "type": "resref",
@ -1341,7 +1341,7 @@
}, },
"Subrace": { "Subrace": {
"type": "cexostring", "type": "cexostring",
"value": "" "value": "Dragon"
}, },
"Tag": { "Tag": {
"type": "cexostring", "type": "cexostring",
@ -1349,7 +1349,7 @@
}, },
"Tail_New": { "Tail_New": {
"type": "dword", "type": "dword",
"value": 0 "value": 332
}, },
"TemplateList": { "TemplateList": {
"type": "list", "type": "list",
@ -1361,7 +1361,7 @@
}, },
"WalkRate": { "WalkRate": {
"type": "int", "type": "int",
"value": 8 "value": 7
}, },
"willbonus": { "willbonus": {
"type": "short", "type": "short",