Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Issue 3749: Frankly,It Makes No Sense
- SET @Scorp := 21909; -- Arcano-Scorp
- SET @CreditGuid := 84902; -- There is unused spawn of this
- SET @Guid1 := 43463; -- TC team values should be set here -> add missing scorp spawn
- SET @Guid2 := 43464; -- TC team values should be set here -> add missing scorp spawn
- SET @Control1 := 37867; -- Trigger /connected with dismissing to make vehicle not attack master/
- SET @Control1_1 := 37868; -- Control /apply control aura without target/
- SET @Control2 := 37892; -- -//-
- SET @Control2_2 := 37893; -- -//-
- SET @Control3 := 37894; -- -//-
- SET @Control3_3 := 37895; -- -//-
- SET @Diametron := 21462; -- Greater Fellfire Diametron
- -- Arcano-Scorp spells:
- SET @Tag := 37851; -- Tag Greater Felfire Diemetradon
- SET @Arcano_Cloak := 37917;
- SET @Arcano_dismantle := 37919;
- SET @Arcano_pince := 37918;
- -- Add spawns for two missing Arcano-Scorps
- UPDATE `creature_template` SET `AIName`='PetAI',`unit_flags`=512,`MovementType`=1,`spell4`=@Tag,`spell5`=@Arcano_Cloak,`spell6`=@Arcano_dismantle,`spell7`=@Arcano_pince WHERE `entry`=@Scorp;
- UPDATE `creature` SET `MovementType`=1,`spawndist`=3,`position_x`=-3414.004,`position_y`=825.4113,`position_z`=-30.77301 WHERE `guid`=76655;
- DELETE FROM `creature` WHERE `guid` IN (@Guid1,@Guid2,@CreditGuid);
- INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`currentwaypoint`,`MovementType`) VALUES
- (@Guid1,@Scorp,530,1,1,-3414.294,813.9421,-31.12042,1.478481,30,3,0,1),
- (@Guid2,@Scorp,530,1,1,-3408.508,795.8544,-31.42966,1.452154,30,3,0,1);
- -- Spell script for trigger of control spell *will rewrite it once SAI spell script is released*
- DELETE FROM `spell_scripts` WHERE `id` IN (@Control1,@Control2,@Control3);
- INSERT INTO `spell_scripts` (`id`,`effindex`,`delay`,`command`,`datalong`,`datalong2`) VALUES
- (@Control1,0,0,15,@Control1_1,2),
- (@Control2,0,0,15,@Control2_2,2),
- (@Control3,0,0,15,@Control3_3,2);
- -- Limit @Tag only to Diametrons,also to ones not affected by it
- DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=@Tag;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
- (17,0,@Tag,0,0,31,1,3,@Diametron,0,0,0, '', 'Tag can only target Greater Felfire Diametrons'),
- (17,0,@Tag,0,0,1,1,@Tag,0,0,1,0, '', 'Tag cannot be casted on tagged Diametrons');
- -- Limit Arcano_Dismantle to not being able to hit self and cannot damage anything else beside Arcano-scorp
- DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=@Arcano_dismantle;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
- (13,1,@Arcano_dismantle,0,0,33,1,0,1,0,1,0, '', 'Arcano-Dismantle effect 0 cannot hit self'),
- (13,2,@Arcano_dismantle,0,0,33,1,0,1,0,1,0, '', 'Arcano-Dismantle effect 1 cannot hit self'),
- (13,1,@Arcano_dismantle,0,0,31,0,3,@Scorp,0,0,0, '', 'Arcano-Dismantle effect 0 can hit only Arcano-Scorp'),
- (13,2,@Arcano_dismantle,0,0,31,0,3,@Scorp,0,0,0, '', 'Arcano-Dismantle effect 1 can hit only Arcano-Scorp');
- -- Limit @Arcano_pince to not being able to hit self and cannot damage anything else beside Arcano-scorp
- DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=@Arcano_pince;
- INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition` ,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
- (13,1,@Arcano_pince,0,0,33,1,0,1,0,1,0, '', 'Arcano_pince effect 0 cannot hit self'),
- (13,1,@Arcano_pince,0,0,31,0,3,@Scorp,0,0,0, '', 'Arcano_pince effect 0 can hit only Arcano-Scorp');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement