This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Custom Mercenary System  (Read 1294 times)

Piccolodmq

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 200
    • View Profile
Custom Mercenary System
« on: February 08, 2017, 05:06:05 am »
Hi all

A while back, I edited this item and it´s spell:  http://www.wowhead.com/item=1187/spiked-collar So instead of the Felhound you get to protect you for one hour, it would spawn a variety of NPC´s with smartscripts that i created.   It worked like a charm, I used to have over 5 special custom mercenaries basically that with the propper spell could solo, dungeons, etc.

Since the last TC, updated in January, I can spawn the NPC´s with the spell I made but they wont, attack.   They just follow me and watch me die.  If I spawn the NPC´s alove (.npc add  id# of the SmartAI special npc it still fights me and shows all the SmartAI spells.)

I tried copying other summon spells (voidwalker, hunter pets, etc) with the same result.   It spawns the NPC, but it has no spells and doesnt even auto attack, or nothing.   It acts, as a cosmetic petc would do.

Any suggestion on editing another Spell?   I tried to use Eluna but it corrupted my files once, so I am afraid of using it again)

Thanks!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: Custom Mercenary System
« Reply #1 on: February 08, 2017, 12:54:51 pm »
Can you link your Creature_template and SmartAI script ? I'll chekc it and test it on my own core.

Also, I've read somewhere on the github that they may have changed the NPC system, but i'm not sure of everything, since I don't update very often my core. (I have planty of changes, and dont like the usual "lets all start from 0"-thing from the TC-team.)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Piccolodmq

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 200
    • View Profile
Re: Custom Mercenary System
« Reply #2 on: February 08, 2017, 01:40:15 pm »
Quote from: "Makpptfox"
Can you link your Creature_template and SmartAI script ? I'll chekc it and test it on my own core.

Also, I've read somewhere on the github that they may have changed the NPC system, but i'm not sure of everything, since I don't update very often my core. (I have planty of changes, and dont like the usual "lets all start from 0"-thing from the TC-team.)

The scripts do work.  But not when I spawn them as pets. (It use to work un previous TC builds.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: Custom Mercenary System
« Reply #3 on: February 09, 2017, 07:25:49 am »
It's more precise in this case.

Switch the Misc value B in your item's spell from 61 to 67, it should work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
For support, send your Discord's ID by PM.

Piccolodmq

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 200
    • View Profile
Re: Custom Mercenary System
« Reply #4 on: February 09, 2017, 06:50:03 pm »
Quote from: "Makpptfox"
It's more precise in this case.

Switch the Misc value B in your item's spell from 61 to 67, it should work.


I will test this today.

Here is the creature template link (of one of the mercenaries I have 6)
Paladin / Warrior tank one.

INSERT 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`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `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`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `DamageModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES (80245, 0, 0, 0, 0, 0, 28188, 0, 0, 0, 'Guardian Paladin', NULL, NULL, 0, 30, 30, 0, 90, 0, 0.63, 1.14286, 1, 0, 0, 2000, 2200, 1, 1, 1, 0, 2048, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 1, 1, 7, 3, 1, 4.5, 1, 0, 121, 1, 0, 0, '', 12340);


here is the smart scrip for it

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 (80243, 0, 0, 0, 0, 1, 100, 0, 10000, 10000, 10000, 10000, 12, 80244, 1, 120000, 0, 0, 0, 11, 80245, 5000, 0, 0, 0, 0, 0, 'summon specter');
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 (80242, 0, 9, 0, 6, 0, 100, 0, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 11, 80245, 5000, 0, 0, 0, 0, 0, 'kill units around');
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 (80245, 0, 19, 0, 2, 0, 100, 0, 1, 95, 9000, 10000, 11, 62124, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'hand of reckoning ');
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 (80245, 0, 18, 0, 0, 0, 100, 1, 13000, 14000, 15000, 16000, 11, 27780, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'rightest fury');
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 (80245, 0, 17, 0, 4, 0, 100, 1, 1000, 1000, 1000, 1000, 11, 62124, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'hand of reckoning ');
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 (80245, 0, 16, 0, 14, 0, 100, 0, 80, 50000, 5000, 5000, 11, 62124, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'reckoning 5');
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 (80245, 0, 15, 0, 0, 0, 100, 1, 10000, 11000, 12000, 13000, 11, 48942, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'righteus defense');
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 (80245, 0, 14, 0, 2, 0, 50, 1, 1, 25, 1000, 1200, 11, 53778, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'lay on hands 50%');
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 (80245, 0, 13, 0, 1, 0, 100, 1, 5000, 5000, 5000, 5000, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'reset script ooc');
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 (80245, 0, 12, 0, 6, 0, 100, 1, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'reset scritp dead');
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 (80245, 0, 11, 0, 2, 0, 100, 0, 1, 10, 17000, 18000, 11, 66903, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'hammer of rightneusness');
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 (80245, 0, 10, 0, 12, 0, 100, 0, 1, 20, 20000, 20000, 11, 37255, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'hammer of wrath');
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 (80245, 0, 9, 0, 4, 0, 100, 0, 29000, 29000, 29000, 29000, 11, 31884, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Avengin Wrath');
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 (80245, 0, 8, 0, 0, 0, 100, 0, 12000, 12000, 12000, 12000, 11, 46033, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Judgement of Wrath');
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 (80245, 0, 7, 0, 0, 0, 100, 0, 22000, 22000, 22000, 22000, 11, 31904, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Holy shield');
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 (80245, 0, 6, 0, 12, 0, 100, 0, 1, 35, 25000, 26000, 11, 10308, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'hamme of justice');
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 (80245, 0, 4, 0, 0, 0, 100, 0, 34000, 34000, 34000, 34000, 11, 71117, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'Avengers Shield');
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 (80245, 0, 3, 0, 0, 0, 100, 0, 5000, 5000, 5000, 5000, 11, 66112, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Holy Light  8 sec self');
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 (80245, 0, 2, 0, 0, 0, 100, 0, 12000, 12000, 12000, 12000, 11, 58822, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'exorcims');
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 (80245, 0, 1, 0, 0, 0, 100, 0, 20000, 20000, 20000, 20000, 11, 48819, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'concecration');
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 (80245, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 20164, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Seal of justice');
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 (80245, 0, 20, 0, 0, 0, 100, 0, 8000, 8000, 8000, 8000, 11, 69963, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'shield slam 8n sec');
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 (80245, 0, 23, 0, 0, 0, 100, 0, 7000, 7000, 7000, 7000, 11, 54794, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Taunt');
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 (80245, 0, 24, 0, 1, 0, 25, 1, 5000, 5000, 5000, 5000, 5, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Dancing 25 ooc');
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 (80245, 0, 27, 0, 1, 0, 25, 0, 10000, 10000, 10000, 10000, 5, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'roar');
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 (80245, 0, 28, 0, 0, 0, 100, 0, 7000, 7000, 7000, 7000, 11, 54794, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'taunt');
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 (80245, 0, 29, 0, 1, 0, 100, 0, 15000, 15000, 15000, 15000, 5, 27, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'battle stance');
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 (80245, 0, 30, 0, 0, 0, 100, 0, 10000, 10000, 10000, 10000, 11, 63900, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'thunderstomp  4.5 SEC');
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 (80245, 0, 31, 0, 0, 0, 100, 0, 7000, 7000, 7000, 7000, 11, 36213, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'angerend earth');
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 (80245, 0, 32, 0, 4, 0, 100, 0, 0, 0, 0, 0, 11, 20165, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'seal of insight');
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 (80245, 0, 33, 0, 3, 0, 100, 0, 1, 50, 10000, 10000, 11, 54428, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine plea (heals 25% of your mana) OOC');
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 (80245, 0, 34, 0, 1, 0, 100, 1, 12000, 12000, 12000, 12000, 11, 54428, 0, 0, 0, 0, 0, 11, 80232, 5000, 0, 0, 0, 0, 0, 'divine plea (heals 25% of your mana) druid OOC');
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 (80245, 0, 35, 0, 1, 0, 100, 1, 14000, 14000, 14000, 14000, 11, 54428, 0, 0, 0, 0, 0, 11, 80233, 5000, 0, 0, 0, 0, 0, 'divine plea (heals 25% of your mana) mage OOC');
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 (80245, 0, 36, 0, 1, 0, 100, 1, 12000, 12000, 13000, 13000, 11, 54428, 0, 0, 0, 0, 0, 11, 80234, 5000, 0, 0, 0, 0, 0, 'divine plea (heals 25% of your mana) shaman OOC');
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 (80245, 0, 38, 0, 0, 0, 100, 1, 2000, 2000, 2000, 2000, 11, 27779, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine protection');
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 (80245, 0, 39, 0, 2, 0, 100, 1, 1, 90, 1000, 1000, 11, 32777, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'holy shield');
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 (80245, 0, 40, 0, 2, 0, 100, 1, 1, 90, 4000, 4000, 11, 32776, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'redobut');
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 (80245, 0, 41, 0, 2, 0, 100, 1, 10000, 10000, 10000, 10000, 11, 32700, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'avengers shield 10 sec');
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 (80245, 0, 42, 0, 2, 0, 100, 0, 1, 50, 14000, 14000, 11, 57321, 0, 0, 0, 0, 0, 11, 80234, 6000, 0, 0, 0, 0, 0, 'avengers shield 10 sec (save shaman)');
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 (80245, 0, 45, 0, 2, 0, 100, 1, 1, 15, 1000, 1000, 25, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'flee  at 15%');
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 (80245, 0, 46, 0, 2, 0, 100, 1, 1, 10, 1000, 1000, 25, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'flee  at 10%');
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 (80245, 0, 47, 0, 2, 0, 100, 1, 1, 10, 10000, 10000, 11, 27747, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'LAST STAND 10% HEALTH  (CANCELED IT SHOULD BE SELF)');
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 (80245, 0, 48, 0, 4, 0, 100, 0, 5000, 5000, 5000, 5000, 11, 37814, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'TANK AGROO');
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 (80245, 0, 49, 0, 2, 0, 100, 1, 1, 50, 1000, 1000, 11, 71595, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'HEAL OF LIGHT 7 50% 1 sec');
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 (80245, 0, 50, 0, 2, 0, 100, 1, 1, 5, 5000, 5000, 11, 27747, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'LAST STAND 5% HEALTH 5 sec (CANCELED IT SHOULD BE SELF)');
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 (80245, 0, 52, 0, 0, 0, 100, 0, 5500, 6000, 6000, 9000, 11, 17735, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'SUFFERING');
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 (80245, 0, 53, 0, 12, 0, 100, 1, 1, 45, 2000, 3000, 11, 71595, 2, 0, 0, 0, 0, 17, 1, 100000, 0, 0, 0, 0, 0, 'sacred shield');
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 (80245, 0, 54, 0, 12, 0, 100, 1, 1, 45, 2000, 3000, 11, 71595, 2, 0, 0, 0, 0, 17, 1, 100000, 0, 0, 0, 0, 0, 'sacred shield');
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 (80245, 0, 55, 0, 1, 0, 100, 0, 10000, 10000, 10000, 10000, 11, 27780, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'rightest fury ooc');
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 (80245, 0, 56, 0, 12, 0, 100, 1, 1, 95, 2000, 2500, 11, 27780, 2, 0, 0, 0, 0, 17, 1, 10000, 0, 0, 0, 0, 0, 'rightest fury');
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 (80245, 0, 57, 0, 1, 0, 100, 1, 35000, 35000, 70000, 70000, 11, 66112, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Holy Light ooc');
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 (80245, 0, 60, 0, 1, 0, 100, 1, 2000, 3000, 3000, 3000, 0, 61268, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'mana regen ooc (disable)');
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 (80245, 0, 63, 0, 0, 0, 100, 0, 7000, 7000, 7000, 7000, 11, 12886, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'TANK AGROO 2');
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 (80245, 0, 64, 0, 0, 0, 100, 0, 8000, 8000, 8000, 8000, 11, 12886, 2, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'TANK AGROO 2 RANDOM');
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 (80245, 0, 81, 0, 0, 0, 100, 0, 9000, 9000, 9000, 9000, 11, 73499, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'shockwave');
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 (80245, 0, 82, 0, 0, 0, 100, 0, 11000, 11000, 11000, 11000, 11, 12886, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'shockwave');
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 (80245, 0, 77, 0, 2, 0, 100, 1, 1, 45, 1000, 1200, 11, 53778, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'lay on hands 100% 45 sec');
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 (80245, 0, 83, 0, 2, 0, 100, 1, 1, 20, 1000, 1200, 11, 633, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'lay on hands 100% 20 %');
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 (80245, 0, 84, 0, 2, 0, 100, 1, 1, 45, 1000, 1200, 11, 633, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'lay on hands 100% 45 %');
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 (80245, 0, 67, 0, 2, 0, 100, 1, 1, 35, 1000, 1000, 11, 38031, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'block 35%');
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 (80245, 0, 68, 0, 2, 0, 100, 1, 1, 35, 1000, 1000, 11, 38031, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'block 35%');
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 (80245, 0, 69, 0, 2, 0, 100, 1, 1, 35, 1000, 1000, 11, 38031, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'block 35%');
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 (80245, 0, 70, 0, 2, 0, 100, 1, 1, 35, 2000, 2000, 11, 53479, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'last stand 35%');
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 (80245, 0, 71, 0, 2, 0, 100, 1, 1, 35, 2000, 2000, 11, 53479, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'last stand 35%');
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 (80245, 0, 72, 0, 2, 0, 100, 1, 1, 35, 2000, 2000, 11, 53479, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'last stand 35%');
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 (80245, 0, 73, 0, 2, 0, 100, 1, 1, 40, 1000, 1000, 11, 27779, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine protection 40% (50% less damage)');
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 (80245, 0, 74, 0, 2, 0, 100, 1, 1, 40, 1000, 1000, 11, 27779, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine protection 40% (50% less damage)');
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 (80245, 0, 75, 0, 2, 0, 100, 1, 1, 40, 1000, 1000, 11, 27779, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine protection 40% (50% less damage)');
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 (80245, 0, 76, 0, 0, 0, 100, 0, 13000, 13000, 13000, 13000, 11, 66940, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 'hammer of justice random 13 sec');
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 (80245, 0, 78, 0, 1, 0, 100, 0, 12000, 12000, 12000, 12000, 11, 54428, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'diven plea (mana ooc)');
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 (80245, 0, 79, 0, 1, 0, 100, 1, 2000, 2000, 2000, 2000, 11, 43233, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Blessing of kings');
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 (80245, 0, 80, 0, 1, 0, 100, 1, 7000, 7000, 7000, 7000, 11, 43233, 0, 0, 0, 0, 0, 18, 5000, 0, 0, 0, 0, 0, 0, 'Blessing of kings player');
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 (80245, 0, 88, 0, 1, 0, 100, 1, 9000, 9000, 9000, 9000, 11, 66112, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'heal ooc');
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 (80245, 0, 89, 0, 2, 0, 50, 1, 1, 50, 1000, 1000, 11, 71595, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'HEAL OF LIGHT 7 50% 10 sec');
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 (80245, 0, 37, 0, 0, 0, 100, 1, 32000, 32000, 32000, 32000, 11, 64205, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine guardian 12  sec self');
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 (80245, 0, 90, 0, 0, 0, 100, 1, 12000, 12000, 12000, 12000, 11, 64205, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine guardian 12  sec self');
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 (80245, 0, 91, 0, 0, 0, 100, 1, 42000, 42000, 42000, 42000, 11, 64205, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'divine guardian 12  sec self');
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 (80245, 0, 92, 0, 0, 0, 100, 0, 8000, 8000, 8000, 8000, 11, 58822, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, '53408 mana hammer?');
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 (80245, 0, 93, 0, 0, 0, 100, 0, 640000, 64000, 64000, 64000, 11, 633, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'lay on hands 1 minuto');
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 (80245, 0, 94, 0, 0, 0, 100, 0, 7500, 7500, 7500, 7500, 11, 58460, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Brutal strikce');
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 (80245, 0, 95, 0, 0, 0, 100, 0, 5000, 5000, 5000, 5000, 11, 14517, 4, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'divine strom 15 sec');
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 (80245, 0, 96, 0, 0, 0, 75, 0, 6000, 6000, 6000, 6000, 11, 845, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'celave');
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 (80245, 0, 97, 0, 2, 0, 100, 1, 1, 15, 1000, 1000, 25, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'flee  at 15%');
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 (80245, 0, 98, 0, 0, 0, 100, 0, 30000, 30000, 30000, 30000, 11, 871, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'shiled wall 30 sec');
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 (80245, 0, 99, 0, 0, 0, 100, 0, 33000, 33000, 33000, 33000, 11, 9941, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'spell reflection 32 sec');
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 (80245, 0, 100, 0, 0, 0, 100, 0, 28000, 28000, 28000, 28000, 11, 12975, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'last stand 18 sec');
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 (80245, 0, 101, 0, 0, 0, 100, 0, 35000, 35000, 35000, 35000, 11, 25425, 4, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 'Shockwave');
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 (80245, 0, 102, 0, 0, 0, 100, 0, 16000, 16000, 16000, 16000, 11, 1161, 16, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'chalenging scream');

here is the item I am linking the spell to.

1187
made a copy of that item to this unused Item (again it work before) 94226

This is the original spell that spawned the felhound, and I copied to spawn npc 80245 (paladin).
Original npc to be spawned 10656
Original spell is 8176
Copied to a new random spell #90005

So there you have it!   thanks for your help by the way
« Last Edit: January 01, 1970, 01:00:00 am by Admin »