Hallo ich habe einen neuen drachen ins spiel eingebaut und aus gründen die ich nicht verstehen kann ist er unbesiegbar das will ich ändern ich möchte das man ihn von anfang an töten kann hier ist das script wo ist der fehler ?
PHP-Code:
//****************************// Firedragon Prototype //****************************
PROTOTYPE Mst_Default_Dragon_Fire2(C_Npc) { name = "Feuerdrache"; guild = GIL_none; id = 12345; level = 500; bodyStateInterruptableOverride = TRUE; //----- Attribute ---- attribute [ATR_STRENGTH] = 150; attribute [ATR_DEXTERITY] = 200; attribute [ATR_HITPOINTS_MAX] = 1000; attribute [ATR_HITPOINTS] = 1000; attribute [ATR_MANA_MAX] = 1000; attribute [ATR_MANA] = 1000; //------ Protections ---- protection [PROT_BLUNT] = 75; protection [PROT_EDGE] = 100; protection [PROT_POINT] = 80; protection [PROT_FIRE] = IMMUNE; protection [PROT_FLY] = 70; protection [PROT_MAGIC] = 50; //------ Damage Types ---- damagetype = DAM_FIRE|DAM_FLY;// damage [DAM_INDEX_BLUNT] = 0;// damage [DAM_INDEX_EDGE] = 0;// damage [DAM_INDEX_POINT] = 0; damage [DAM_INDEX_FIRE] = 149; damage [DAM_INDEX_FLY] = 1; //Opfer fliegt für Fire+Fly// damage [DAM_INDEX_MAGIC] = 0;
//----- Kampf-Taktik ---- fight_tactic = FAI_Dragon; Equipitem (self, ItRu_InstantFireball); EquipItem (self, Itru_transfly); //----- Sense & Ranges ---- senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL; senses_range = PERC_DIST_DRAGON_ACTIVE_MAX;
aivar[AIV_MM_FollowTime] = FOLLOWTIME_MEDIUM; aivar[AIV_MM_FollowInWater] = FALSE;
//aivar[AIV_MaxDistToWp] = 700; aivar[AIV_OriginalFightTactic] = FAI_DRAGON; //----- Daily Routine ---- };
//******************// Visuals//******************
func void B_SetVisuals_Dragon_Fire2(){ Mdl_SetVisual (self, "Dragon.mds"); // Body-Mesh Body-Tex Skin-Color Head-MMS Head-Tex Teeth-Tex ARMOR Mdl_SetVisualBody (self, "Dragon_FIRE_Body", DEFAULT, DEFAULT, "", DEFAULT, DEFAULT, -1);};//*****************// Firedragon//*****************
INSTANCE Dragon_Fire2 (Mst_Default_Dragon_Fire2){ name = "Wilder Drache"; flags = NPC_FLAG_IMMORTAL; B_SetVisuals_Dragon_Fire2(); Npc_SetToFistMode(self);};