| 
|   | npc_essence_of_twin () | 
|   | 
| bool  | OnGossipHello (Player *player, Creature *creature) override | 
|   | 
| bool  | IsDatabaseBound () const override | 
|   | 
| virtual bool  | OnGossipSelect (Player *, Creature *, uint32, uint32) | 
|   | 
| virtual bool  | OnGossipSelectCode (Player *, Creature *, uint32, uint32, const char *) | 
|   | 
| virtual bool  | OnQuestAccept (Player *, Creature *, Quest const *) | 
|   | 
| virtual bool  | OnQuestSelect (Player *, Creature *, Quest const *) | 
|   | 
| virtual bool  | OnQuestComplete (Player *, Creature *, Quest const *) | 
|   | 
| virtual bool  | OnQuestReward (Player *, Creature *, Quest const *, uint32) | 
|   | 
| virtual uint32  | GetDialogStatus (Player *, Creature *) | 
|   | 
| virtual CreatureAI *  | GetAI (Creature *) const | 
|   | 
| virtual void  | OnFfaPvpStateUpdate (Creature *, bool) | 
|   | 
| virtual bool  | isAfterLoadScript () const | 
|   | 
| virtual void  | checkValidity () | 
|   | 
| const std::string &  | GetName () const | 
|   | 
| uint16  | GetTotalAvailableHooks () | 
|   | 
| virtual void  | OnUpdate (Creature *, uint32) | 
|   | 
◆ npc_essence_of_twin()
  
  
      
        
          | npc_essence_of_twin::npc_essence_of_twin  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition CreatureScript.h:25
 
 
 
 
◆ OnGossipHello()
  
  
      
        
          | bool npc_essence_of_twin::OnGossipHello  | 
          ( | 
          Player *  | 
          player,  | 
         
        
           | 
           | 
          Creature *  | 
          creature  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Reimplemented from CreatureScript.
  575    {
  577        {
  579                {
  582                    
  584                    
  586                    {
  587                        case 0:
  588                            essenceId = 65684;
  589                            
  590                            touchId1 = 65950;
  591                            
  592                            effect2Id = 65827;
  593                            break;
  594                        case 1:
  595                            essenceId = 67176;
  596                            
  597                            touchId1 = 67296;
  598                            
  599                            effect2Id = 67179;
  600                            break;
  601                        case 2:
  602                            essenceId = 67177;
  603                            
  604                            touchId1 = 67297;
  605                            
  606                            effect2Id = 67180;
  607                            break;
  608                        case 3:
  609                            essenceId = 67178;
  610                            
  611                            touchId1 = 67298;
  612                            
  613                            effect2Id = 67181;
  614                            break;
  615                    }
  619                    
  620                    
  622                }
  623                break;
  625                {
  628                    
  629                    
  632                    {
  633                        case 0:
  634                            essenceId = 65686;
  635                            
  636                            
  637                            touchId2 = 66001;
  638                            effect2Id = 65811;
  639                            break;
  640                        case 1:
  641                            essenceId = 67222;
  642                            
  643                            
  644                            touchId2 = 67281;
  645                            effect2Id = 67511;
  646                            break;
  647                        case 2:
  648                            essenceId = 67223;
  649                            
  650                            
  651                            touchId2 = 67282;
  652                            effect2Id = 67512;
  653                            break;
  654                        case 3:
  655                            essenceId = 67224;
  656                            
  657                            
  658                            touchId2 = 67283;
  659                            effect2Id = 67513;
  660                            break;
  661                    }
  664                    
  666                    
  668                }
  669                break;
  670            default:
  671                break;
  672        }
  674        return true;
  675    }
std::uint32_t uint32
Definition Define.h:107
 
void CloseGossipMenuFor(Player *player)
Definition ScriptedGossip.cpp:56
 
@ NPC_LIGHT_ESSENCE
Definition boss_twin_valkyr.cpp:57
 
@ NPC_DARK_ESSENCE
Definition boss_twin_valkyr.cpp:56
 
@ SPELL_LIGHT_ESSENCE
Definition boss_twin_valkyr.cpp:64
 
@ SPELL_DARK_ESSENCE
Definition boss_twin_valkyr.cpp:66
 
Difficulty GetDifficulty() const
Definition Map.h:290
 
uint32 GetEntry() const
Definition Object.h:116
 
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
Definition Unit.cpp:4844
 
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition Unit.cpp:1194
 
Map * GetMap() const
Definition Object.h:621
 
 
References Unit::CastSpell(), CloseGossipMenuFor(), Map::GetDifficulty(), Object::GetEntry(), WorldObject::GetMap(), NPC_DARK_ESSENCE, NPC_LIGHT_ESSENCE, Unit::RemoveAura(), SPELL_DARK_ESSENCE, and SPELL_LIGHT_ESSENCE.
 
 
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp