Conditions - Linkeo de quest
Antes de hacer esto, leer mucha info y estar seguros de que es así. Ver videos de gente tomando/entregando la mision.
Por cada misión que se pone condición, hay que agregar 2 renglones, uno con `SourceTypeOrReferenceId` 19 y otro con 20.
1 - Controlar bien si hay quest horda y alianza por separado y hacerle a ambos.
Sweeping the shelf, se puede tomar despues de hacer Cleaning House. Obviamente si hay una sola para ambas facciones, va una sola vez.Código:SET @SweepingShelf_H := 25354; -- sweeping-the-shelf (Horda) SET @SweepingShelf_A := 25352; -- sweeping-the-shelf (Alianza) SET @CleaningHouse_H := 25277; -- cleaning-house (Horda) SET @CleaningHouse_A := 25278; -- cleaning-house (Alianza) DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `ConditionTypeOrReference`=8 AND `SourceEntry` IN (@SweepingShelf_H,@SweepingShelf_A); DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=20 AND `ConditionTypeOrReference`=8 AND `SourceEntry` IN (@SweepingShelf_H,@SweepingShelf_A); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (19, 0, @SweepingShelf_H, 0, 0, 8, @CleaningHouse_H, 0, 0, 0, '', 'Q: sweeping-the-shelf after cleaning-house (H)'), (20, 0, @SweepingShelf_H, 0, 0, 8, @CleaningHouse_H, 0, 0, 0, '', 'Q: sweeping-the-shelf after cleaning-house (H)'), (19, 0, @SweepingShelf_A, 0, 0, 8, @CleaningHouse_A, 0, 0, 0, '', 'Q: sweeping-the-shelf after cleaning-house (A)'), (20, 0, @SweepingShelf_A, 0, 0, 8, @CleaningHouse_A, 0, 0, 0, '', 'Q: sweeping-the-shelf after cleaning-house (A)');
2 - Para hacer una quest, antes hay que entregar la misión A o la misión B
En este caso, the-fires-of-mount-hyjal, se puede tomar luego de completar Return.... la versión ally o la horda. Para marcar esos dos grupos, nótese el 0 y 1 en negrita (estaría en la columna `ElseGroup`).Código:SET @ReturnFirelands_A := 25611; -- return-from-the-firelands (A) SET @ReturnFirelands_H := 25612; -- return-from-the-firelands (H) SET @FiresOfMntHyjal := 25630; -- the-fires-of-mount-hyjal DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `ConditionTypeOrReference`=8 AND `SourceEntry` IN (@FiresOfMntHyjal); DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=20 AND `ConditionTypeOrReference`=8 AND `SourceEntry` IN (@FiresOfMntHyjal); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (19, 0, @FiresOfMntHyjal, 0, 0, 8, @ReturnFirelands_A, 0, 0, 0, '', 'Q: The Fires Of Mount Hyjal after ReturnFirelands (A)'), (20, 0, @FiresOfMntHyjal, 0, 0, 8, @ReturnFirelands_A, 0, 0, 0, '', 'Q: The Fires Of Mount Hyjal after ReturnFirelands (A)'), (19, 0, @FiresOfMntHyjal, 0, 1, 8, @ReturnFirelands_H, 0, 0, 0, '', 'Q: The Fires Of Mount Hyjal after ReturnFirelands (H)'), (20, 0, @FiresOfMntHyjal, 0, 1, 8, @ReturnFirelands_H, 0, 0, 0, '', 'Q: The Fires Of Mount Hyjal after ReturnFirelands (H)');
3 - Para tomar una misión, hay que completar tales misiones antes, y luego se habilita.
Me cansé de colorear. Ya deberían saber que hay que modficiar =P.Código:SET @ShadowAndFlame := 25575; -- /forged-of-shadow-and-flame SET @RageOfWolf := 25576; -- /rage-of-the-wolf-ancient SET @CrushingCores := 25577; -- /crushing-the-cores SET @Cindermaul := 25599; -- /cindermaul-the-portal-master DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `ConditionTypeOrReference`=8 AND`SourceEntry` IN (@Cindermaul); DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=20 AND `ConditionTypeOrReference`=8 AND`SourceEntry` IN (@Cindermaul); INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES (19, 0, @Cindermaul, 0, 0, 8, @ShadowAndFlame, 0, 0, 0, '', 'Q: Cindermaul The Portal Master after Forged of Shadow And Flame'), (20, 0, @Cindermaul, 0, 0, 8, @ShadowAndFlame, 0, 0, 0, '', 'Q: Cindermaul The Portal Master after Forged of Shadow And Flame'), (19, 0, @Cindermaul, 0, 0, 8, @RageOfWolf, 0, 0, 0, '', 'Q: Cindermaul The Portal Master after rage-of-the-wolf-ancient'), (20, 0, @Cindermaul, 0, 0, 8, @RageOfWolf, 0, 0, 0, '', 'Q: Cindermaul The Portal Master after rage-of-the-wolf-ancient'), (19, 0, @Cindermaul, 0, 0, 8, @CrushingCores, 0, 0, 0, '', 'Q: Cindermaul The Portal Master after rushing-the-cores'), (20, 0, @Cindermaul, 0, 0, 8, @CrushingCores, 0, 0, 0, '', 'Q: Cindermaul The Portal Master after rushing-the-cores');
Después se puede complicar mas. Si le toman la mano y leen la ayuda de Trinity, pueden agregar condiciones de tener tal reputación con tal facción, por ejemplo, tener tal item equipado, algun achiev, título, etc
Citar