Core/DB: Convert 25 more scripts to creature text

This commit is contained in:
Gacko
2012-11-26 15:32:30 +01:00
parent 1ff6b10fb7
commit 7accb42cc4
26 changed files with 659 additions and 362 deletions

View File

@@ -26,11 +26,6 @@ EndScriptData */
#include "ScriptMgr.h"
#include "Player.h"
enum eSay
{
SAY_HI = -1999925
};
class AT_example_areatrigger : public AreaTriggerScript
{
public:
@@ -42,7 +37,7 @@ class AT_example_areatrigger : public AreaTriggerScript
bool OnTrigger(Player* player, AreaTriggerEntry const* /*trigger*/)
{
DoScriptText(SAY_HI, player);
player->Kill(player);
return true;
}
};