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:
		@@ -843,13 +843,17 @@
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "TileBrdrDisabled": {
 | 
			
		||||
    "type": "byte",
 | 
			
		||||
    "value": 0
 | 
			
		||||
  },
 | 
			
		||||
  "Tileset": {
 | 
			
		||||
    "type": "resref",
 | 
			
		||||
    "value": "tdm01"
 | 
			
		||||
  },
 | 
			
		||||
  "Version": {
 | 
			
		||||
    "type": "dword",
 | 
			
		||||
    "value": 22
 | 
			
		||||
    "value": 23
 | 
			
		||||
  },
 | 
			
		||||
  "Width": {
 | 
			
		||||
    "type": "int",
 | 
			
		||||
 
 | 
			
		||||
@@ -6357,7 +6357,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "Version": {
 | 
			
		||||
    "type": "dword",
 | 
			
		||||
    "value": 509
 | 
			
		||||
    "value": 510
 | 
			
		||||
  },
 | 
			
		||||
  "Width": {
 | 
			
		||||
    "type": "int",
 | 
			
		||||
 
 | 
			
		||||
@@ -1532,7 +1532,7 @@
 | 
			
		||||
                    "__struct_id": 0,
 | 
			
		||||
                    "CR": {
 | 
			
		||||
                      "type": "float",
 | 
			
		||||
                      "value": 358.0
 | 
			
		||||
                      "value": 175.0
 | 
			
		||||
                    },
 | 
			
		||||
                    "FACTION": {
 | 
			
		||||
                      "type": "cexostring",
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								_module/ncs/x2_def_endcombat.ncs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								_module/ncs/x2_def_endcombat.ncs
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -11,35 +11,31 @@
 | 
			
		||||
//:: Created By: Preston Watamaniuk
 | 
			
		||||
//:: Created On: Oct 16, 2001
 | 
			
		||||
//:://////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
#include "NW_I0_GENERIC"
 | 
			
		||||
 | 
			
		||||
void main()
 | 
			
		||||
{
 | 
			
		||||
	ExecuteScript("prc_npc_combat", OBJECT_SELF);
 | 
			
		||||
 | 
			
		||||
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();
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
	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();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
@@ -51,8 +51,8 @@ while (party != OBJECT_INVALID)
 | 
			
		||||
          DelayCommand(4.0, SendMessageToPC(oWarn, "The Immortal Crown Has Been Destroyed!!!!!!!!."));
 | 
			
		||||
          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!!!!!."));
 | 
			
		||||
          ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(5000, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_PLUS_FIVE), oWarn);
 | 
			
		||||
          ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_IMPLOSION), lVis, 5.0);
 | 
			
		||||
          ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(5, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_PLUS_FIVE), oWarn);
 | 
			
		||||
          ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_SCREEN_BUMP), lVis, 5.0);
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
         oWarn = GetNextPC();
 | 
			
		||||
 
 | 
			
		||||
@@ -38,9 +38,6 @@ const int EVENT_USER_DEFINED_POSTSPAWN = 1511;
 | 
			
		||||
const string NWNX_DISCORD_URL = "/api/webhooks/709533785091342397/8Rsb8-or0Ticc5xDNxLP2tldtx_vPR4Zqu41rs_KzNq5stylkMECcEAIdEDDVXteaQmO/slack";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void main()
 | 
			
		||||
{
 | 
			
		||||
    string sTag;
 | 
			
		||||
 
 | 
			
		||||
@@ -188,6 +188,7 @@ void Respawn(object oPlayer)
 | 
			
		||||
void main()
 | 
			
		||||
{
 | 
			
		||||
     ExecuteScript("prc_ondeath", OBJECT_SELF);
 | 
			
		||||
	 
 | 
			
		||||
    //Declare Major Variables...
 | 
			
		||||
    object oPlayer = GetLastPlayerDied();
 | 
			
		||||
    object oPC = GetLastPlayerDied();
 | 
			
		||||
 
 | 
			
		||||
@@ -15,8 +15,9 @@ Likewise players cannot equipt items tagnamed "arena" outside of the arena.
 | 
			
		||||
//Main Script
 | 
			
		||||
void main()
 | 
			
		||||
{
 | 
			
		||||
ExecuteScript("prc_equip", OBJECT_SELF);
 | 
			
		||||
    //Declare Major Variables
 | 
			
		||||
	ExecuteScript("prc_equip", OBJECT_SELF);
 | 
			
		||||
 | 
			
		||||
//:: Declare Major Variables
 | 
			
		||||
    object oItem = GetPCItemLastEquipped();
 | 
			
		||||
    object oPC   = GetPCItemLastEquippedBy();
 | 
			
		||||
    int nSlot;
 | 
			
		||||
 
 | 
			
		||||
@@ -12,6 +12,8 @@
 | 
			
		||||
 | 
			
		||||
void RndDropGold(object oSelf, object oKiller);
 | 
			
		||||
 | 
			
		||||
void RndDropGear(object oSelf, object oKiller);
 | 
			
		||||
 | 
			
		||||
void RndDropGold(object oSelf, object oKiller)
 | 
			
		||||
{
 | 
			
		||||
//:: Declare major variables	
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
  "__data_type": "UTC ",
 | 
			
		||||
  "Appearance_Type": {
 | 
			
		||||
    "type": "word",
 | 
			
		||||
    "value": 45
 | 
			
		||||
    "value": 583
 | 
			
		||||
  },
 | 
			
		||||
  "BodyBag": {
 | 
			
		||||
    "type": "byte",
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "ChallengeRating": {
 | 
			
		||||
    "type": "float",
 | 
			
		||||
    "value": 358.0
 | 
			
		||||
    "value": 175.0
 | 
			
		||||
  },
 | 
			
		||||
  "ClassList": {
 | 
			
		||||
    "type": "list",
 | 
			
		||||
@@ -937,7 +937,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "PortraitId": {
 | 
			
		||||
    "type": "word",
 | 
			
		||||
    "value": 194
 | 
			
		||||
    "value": 191
 | 
			
		||||
  },
 | 
			
		||||
  "Race": {
 | 
			
		||||
    "type": "byte",
 | 
			
		||||
@@ -969,7 +969,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "ScriptEndRound": {
 | 
			
		||||
    "type": "resref",
 | 
			
		||||
    "value": "x2_def_endcombat"
 | 
			
		||||
    "value": "dragonstop2"
 | 
			
		||||
  },
 | 
			
		||||
  "ScriptHeartbeat": {
 | 
			
		||||
    "type": "resref",
 | 
			
		||||
@@ -1341,7 +1341,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "Subrace": {
 | 
			
		||||
    "type": "cexostring",
 | 
			
		||||
    "value": ""
 | 
			
		||||
    "value": "Dragon"
 | 
			
		||||
  },
 | 
			
		||||
  "Tag": {
 | 
			
		||||
    "type": "cexostring",
 | 
			
		||||
@@ -1349,7 +1349,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "Tail_New": {
 | 
			
		||||
    "type": "dword",
 | 
			
		||||
    "value": 0
 | 
			
		||||
    "value": 332
 | 
			
		||||
  },
 | 
			
		||||
  "TemplateList": {
 | 
			
		||||
    "type": "list",
 | 
			
		||||
@@ -1361,7 +1361,7 @@
 | 
			
		||||
  },
 | 
			
		||||
  "WalkRate": {
 | 
			
		||||
    "type": "int",
 | 
			
		||||
    "value": 8
 | 
			
		||||
    "value": 7
 | 
			
		||||
  },
 | 
			
		||||
  "willbonus": {
 | 
			
		||||
    "type": "short",
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user