◆ at_scarshield_infiltrator()
| at_scarshield_infiltrator::at_scarshield_infiltrator |
( |
| ) |
|
|
inline |
Definition AreaTriggerScript.h:24
◆ OnTrigger()
Reimplemented from AreaTriggerScript.
768 {
769 if (player && player->
IsAlive())
770 {
772 {
774 {
775 creature->AI()->SetData(0, 1);
776 return true;
777 }
778 }
779 }
780 return false;
781 }
@ 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:657
bool IsAlive() const
Definition Unit.h:1793
uint8 GetLevel() const
Definition Unit.h:1103
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
Definition Object.cpp:2499
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: