Jump to content
TrinityCore
Aokromes

Posting Code Or Sql On Github

Recommended Posts

Since a lot of ppl posts code and sql without format on tracker the way to post it is:


 

```code
src/server/scripts/Spells/spell_generic.cpp | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index 80474f2..a301428 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -1262,6 +1262,11 @@ class spell_gen_launch : public SpellScriptLoader
}
};

+enum VehicleScaling
+{
+ SPELL_GEAR_SCALING = 66668,
+};
+
class spell_gen_vehicle_scaling : public SpellScriptLoader
{
public:
```

 

 

```sql
insert into ........
```

 


NOTE it's very important to leave one empty row before ```code or ```sql

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...