TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
at_malfurion_stormrage Class Reference

Public Member Functions

 at_malfurion_stormrage ()
 
bool OnTrigger (Player *player, const AreaTriggerEntry *, bool) override
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Additional Inherited Members

- Protected Member Functions inherited from AreaTriggerScript
 AreaTriggerScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()
 

Constructor & Destructor Documentation

at_malfurion_stormrage::at_malfurion_stormrage ( )
inline
42 : AreaTriggerScript("at_malfurion_stormrage") { }
AreaTriggerScript(const char *name)
Definition: ScriptMgr.cpp:1598

Member Function Documentation

bool at_malfurion_stormrage::OnTrigger ( Player player,
const AreaTriggerEntry ,
bool   
)
inlineoverridevirtual

Reimplemented from AreaTriggerScript.

45  {
46  if (player->GetInstanceScript() && !player->FindNearestCreature(15362, 15))
47  player->SummonCreature(15362, player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), -1.52f, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 100000);
48  return false;
49  }
Definition: Object.h:54

The documentation for this class was generated from the following file: