Skus toto, malo by to dat po vybere gossipu urcitu auru ktora sa da stackovat cize kludne aj 10x400attackpower ale efekt zostava len do relogu, netestoval som vsetky moznosti, ak daco z toho nechces len to zmaz
REPLACE INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`)
VALUES(13370,0,0,0,0,0,1415,0,0,0,'Angry Programmer:Dasio','Leet',NULL,1337,81,81,0,2,2,1,1.26,1.14286,1,0,102,135,0,248,1,1410,1551,1,0,8,0,0,0,0,0,70,103,25,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,117,586,'SmartAI',0,3,1,1,1,0,0,0,0,0,0,0,0,1,0,0,0,'',12340);
REPLACE INTO gossip_menu VALUES (1337,13370);
REPLACE INTO npc_text (id,text0_0) VALUES (13370,'Co bys rad dneska $N ?');
REPLACE INTO gossip_menu_option VALUES
(1337,0,0,"+400 Attack Power",1,1,0,0,0,0,''),
(1337,1,0,"+400 Spell Power",1,1,0,0,0,0,''),
(1337,2,0,"+100 resilience",1,1,0,0,0,0,''),
(1337,3,0,"+200 armor pene",1,1,0,0,0,0,''),
(1337,4,0,"+74 mana per 5 sec",1,1,0,0,0,0,''),
(1337,5,0,"+25% crit",1,1,0,0,0,0,''),
(1337,6,0,"+5000g",1,1,0,0,0,0,''),
(1337,7,0,"10000 Honor",1,1,0,0,0,0,'');
SET @ENTRY := 13370;
DELETE FROM `smart_scripts` WHERE `entryorguid`
[email protected] AND `source_type`=0;
UPDATE creature_template SET AIName="SmartAI" WHERE
[email protected] LIMIT 1;
INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(@ENTRY,0,0,7,62,0,100,0,1337,0,0,0,75,43925,1,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 1 - +400 attack power"),
(@ENTRY,0,1,7,62,0,100,0,1337,1,0,0,75,34772,1,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 2 - SpellPower"),
(@ENTRY,0,2,7,62,0,100,0,1337,2,0,0,75,56449,1,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 3 - Resilience"),
(@ENTRY,0,3,7,62,0,100,0,1337,3,0,0,75,43926,1,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 4 - Armor Pene"),
(@ENTRY,0,4,7,62,0,100,0,1337,4,0,0,75,35903,1,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 5 - MP5"),
(@ENTRY,0,5,7,62,0,100,0,1337,5,0,0,75,41854,1,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 6 - Crit"),
(@ENTRY,0,6,7,62,0,100,0,1337,6,0,0,11,46642,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 7 - Golds"),
(@ENTRY,0,7,0,61,0,100,0,0,0,0,0,72,0,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Close Gossip"),
(@ENTRY,0,8,7,62,0,100,0,1337,7,0,0,86,59869,0,0,0,0,0,7,0,0,0,0.0,0.0,0.0,0.0,"Option 8 - Honor");