Register for your free account! | Forgot your password?

You last visited: Today at 09:18

  • Please register to post and access all features, it's quick, easy and FREE!

 

[TC] Gossip BuffNPC

Reply
 
Old   #1
 
elite*gold: 2703
Join Date: Jul 2010
Posts: 6,449
Received Thanks: 1,224
[TC] Gossip BuffNPC

BuffNPC via Gossip in die DB der TC einbatchen, restarten, fun haben.

Code:
SET @BUFFNPC := 993368; ## (Entry ID of the NPC)
 SET @GOPTION := 60500;
 SET @GMENU := @GOPTION;
 SET @GSCRIPT := 60500;
 SET @NPCTXT := 54006;
 SET @DISPLAY := 28641; ## (DisplayID of the NPC)
 SET @NAME := Bernie Buffer; ## (Name of the NPC)
 SET @SUBNAME:= BuffNPC; ## (Subname of the NPC)
 SET @REALMNAME:= Project X; ## (Name of the Realm)
 
 DELETE FROM creature_template WHERE [email protected];
 DELETE FROM gossip_menu WHERE [email protected] OR [email protected]+1 OR  [email protected]+2 OR [email protected]+3 OR [email protected]+4 OR [email protected]+5 OR  [email protected]+6 OR [email protected]+7 OR [email protected]+8;
 DELETE FROM gossip_menu_option WHERE [email protected] OR  [email protected]+1 OR [email protected]+2 OR [email protected]+3 OR  [email protected]+4 OR [email protected]+5 OR [email protected]+6 OR  [email protected]+7 OR [email protected]+8;
 DELETE FROM gossip_scripts WHERE id>@GSCRIPT-1 AND id<@GSCRIPT+12;
 DELETE FROM npc_text WHERE [email protected] OR [email protected]+1 OR [email protected]+2 OR [email protected]+3 OR [email protected]+4;
 
 INSERT INTO creature_template  (entry,modelid1,name,subname,IconName,gossip_menu_id,minlevel,maxlevel,Health_mod,Mana_mod,Armor_mod,faction_A,faction_H,npcflag,speed_walk,speed_run,scale,rank,dmg_multiplier,unit_class,unit_flags,type,type_flags,InhabitType,RegenHealth,flags_extra)  
 VALUES  (@BUFFNPC,@DISPLAY,'@NAME','@SUBNAME','Directions',@GMENU,71,71,1.56,1.56,1.56,35,35,3,1,1.14286,1,1,1,1,2,7,138936390,3,1,2);
 
 ## Menü
 
 INSERT INTO gossip_menu (entry, text_id) 
 VALUES (@GMENU, @NPCTXT);
 
 ## Gossip options
 
 INSERT INTO gossip_menu_option (menu_id, id, option_icon, option_text,  option_id, npc_option_npcflag, action_menu_id, action_poi_id,  action_script_id, box_coded, box_money, box_text) 
 VALUES
 (@GOPTION, 1, 2, '|cff00ffffMachtwort: Seelenstärke', 1, 1, @GOPTION, 0, @GSCRIPT, 0, 0, NULL), 
 (@GOPTION, 2, 2, '|cff00ffffGöttlicher Wille', 1, 1, @GOPTION, 0, @GSCRIPT+1, 0, 0, NULL), 
 (@GOPTION, 3, 2, '|cff00ffffSchattenschutz', 1, 1, @GOPTION, 0, @GSCRIPT+2, 0, 0, NULL), 
 (@GOPTION, 4, 2, '|cff00ffffArkane Intelligenz', 1, 1, @GOPTION, 0, @GSCRIPT+3, 0, 0, NULL),
 (@GOPTION, 5, 2, '|cff00ffffIntelligenz von Dalaran', 1, 1, @GOPTION, 0, @GSCRIPT+4, 0, 0, NULL), 
 (@GOPTION, 6, 2, '|cff00ffffGroßer Segen der Könige', 1, 1, @GOPTION, 0, @GSCRIPT+5, 0, 0, NULL), 
 (@GOPTION, 7, 2, '|cff00ffffGroßer Segen der Macht', 1, 1, @GOPTION, 0, @GSCRIPT+6, 0, 0, NULL), 
 (@GOPTION, 8, 2, '|cff00ffffGroßer Segen der Weisheit', 1, 1, @GOPTION, 0, @GSCRIPT+7, 0, 0, NULL), 
 (@GOPTION, 9, 2, '|cff00ffffGroßer Segen des Refugiums', 1, 1, @GOPTION, 0, @GSCRIPT+8, 0, 0, NULL), 
 (@GOPTION, 10, 2, '|cff00ffffMal der Wildnis', 1, 1, @GOPTION, 0, @GSCRIPT+9, 0, 0, NULL),
 (@GOPTION, 11, 2, '|cff00ffffDornen', 1, 1, @GOPTION, 0, @GSCRIPT+10, 0, 0, NULL),
 (@GOPTION, 12, 2, '|cff00ffffWiederbelebungsnachwirkungen entfernen', 1, 1, @GOPTION, 0, @GSCRIPT+11, 0, 0, NULL); 
 
 ## Text
 
 INSERT INTO npc_text (ID, text0_0, em0_1) 
 VALUES 
 (@NPCTXT, '$B |[email protected]$B $B Buffer $B', 6);
   
 ## Buffing scripts
 
 INSERT INTO gossip_scripts (id, delay, command, datalong, datalong2, dataint, x, y, z, o) 
 VALUES (@GSCRIPT, 0, 15, 48161, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+1, 0, 15, 48073, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+2, 0, 15, 48169, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+3, 0, 15, 42995, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+4, 0, 15, 61024, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+5, 0, 15, 25898, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+6, 0, 15, 48934, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+7, 0, 15, 48938, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+8, 0, 15, 25899, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+9, 0, 15, 48469, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+10, 0, 15, 66068, 3, 0, 0, 0, 0, 0),
 (@GSCRIPT+11, 0, 14, 15007, 1, 0, 0, 0, 0, 0);
(c) by Steve



°"Crazy"° is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Gossip about MR. Nina
Tyler: we just hijacked that thread..... i love doing that makes me feel all fuzzy and stuff Skyline+Nteon: ahahaha Tyler: im not going to...
14 Replies - Zero
TQ Gossip
I've heard rumors that TQ is shutting down some private servers is this true or is it just scare tactics by server owners to gain new players?
14 Replies - Eudemons Online
TQ Gossip
With TQ cracking down on Conquer PServers are they going after any Eudemon servers also?
3 Replies - Eudemons Online



All times are GMT +2. The time now is 09:18.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.