Advertisement
Guest User

mount_template

a guest
Nov 14th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.36 KB | None | 0 0
  1. -- mount
  2. set @spellID = XXXXX;
  3. set @Name = 'XXXXX';
  4. set @Description = 'XXXXX';
  5. set @SourceDescription = 'XXXXX';
  6. set @MountTypeID = XXXXX;
  7. set @MountID = XXXXX;
  8. set @UiModelSceneID = XXXXX;
  9.  
  10. -- mount locale
  11. set @Name_lang = 'XXXXX';
  12. set @Description_lang = 'XXXXX';
  13. set @SourceDescription_lang = 'XXXXX';
  14.  
  15. -- mount display
  16. set @guidID = XXXXX; -- 3000
  17. set @DisplayID = XXXXX;
  18.  
  19. -- mount_capability
  20. set @RequiredRidingSkill = 75;
  21.  
  22. replace INTO `mount` (`SpellID`, `Name`, `Description`, `SourceDescription`, `CameraPivotMultiplier`, `MountTypeID`, `Flags`, `Source`, `ID`, `PlayerConditionId`, `UiModelSceneID`, `VerifiedBuild`) VALUES
  23. (@spellID, @Name, @Description, @SourceDescription, '0', @MountTypeID, '0', 2, @MountID, '0', @UiModelSceneID, '1');
  24.  
  25. replace INTO `mount_locale` (`ID`, `locale`, `Name_lang`, `Description_lang`, `SourceDescription_lang`, `VerifiedBuild`) VALUES
  26. (@MountID, 'ruRU', @Name_lang, @Description_lang, @SourceDescription_lang, '1');
  27.  
  28. replace INTO `mount_x_display` (`ID`, `MountID`, `DisplayID`, `PlayerConditionID`, `VerifiedBuild`) VALUES (@guidID, @MountID, @DisplayID, '0', '1');
  29.  
  30. replace INTO `mount_capability` (`RequiredSpell`, `SpeedModSpell`, `RequiredRidingSkill`, `RequiredArea`, `RequiredMap`, `Flags`, `ID`, `RequiredAura`, `VerifiedBuild`) VALUES
  31. ('0', '0', @RequiredRidingSkill, '0', '0', '0', @MountID, '0', '1');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement