◆ at_scarshield_infiltrator()
at_scarshield_infiltrator::at_scarshield_infiltrator |
( |
| ) |
|
|
inline |
Definition AreaTriggerScript.h:24
◆ OnTrigger()
Reimplemented from AreaTriggerScript.
831 {
832 if (player && player->
IsAlive())
833 {
835 {
837 {
838 creature->AI()->SetData(0, 1);
839 return true;
840 }
841 }
842 }
843 return false;
844 }
@ 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:1726
uint8 GetLevel() const
Definition Unit.h:1043
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2446
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: