◆ at_scarshield_infiltrator()
at_scarshield_infiltrator::at_scarshield_infiltrator |
( |
| ) |
|
|
inline |
Definition AreaTriggerScript.h:24
◆ OnTrigger()
Reimplemented from AreaTriggerScript.
834 {
835 if (player && player->
IsAlive())
836 {
838 {
840 {
841 creature->AI()->SetData(0, 1);
842 return true;
843 }
844 }
845 }
846 return false;
847 }
@ NPC_SCARSHIELD_INFILTRATOR
Definition blackrock_spire.h:84
@ ITEM_UNADORNED_SEAL
Definition blackrock_spire.h:106
bool HasItemCount(uint32 item, uint32 count=1, bool inBankAlso=false) const
Definition PlayerStorage.cpp:655
bool IsAlive() const
Definition Unit.h:1707
uint8 GetLevel() const
Definition Unit.h:1033
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2459
References WorldObject::FindNearestCreature(), Unit::GetLevel(), Player::HasItemCount(), Unit::IsAlive(), ITEM_UNADORNED_SEAL, and NPC_SCARSHIELD_INFILTRATOR.
The documentation for this class was generated from the following file: