|
| | 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, char const *) |
| |
| 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 () |
| |
| std::string const & | 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.
586 {
588 {
590 {
593
595
597 {
598 case 0:
599 essenceId = 65684;
600
601 touchId1 = 65950;
602
603 effect2Id = 65827;
604 break;
605 case 1:
606 essenceId = 67176;
607
608 touchId1 = 67296;
609
610 effect2Id = 67179;
611 break;
612 case 2:
613 essenceId = 67177;
614
615 touchId1 = 67297;
616
617 effect2Id = 67180;
618 break;
619 case 3:
620 essenceId = 67178;
621
622 touchId1 = 67298;
623
624 effect2Id = 67181;
625 break;
626 }
630
631
633 }
634 break;
636 {
639
640
643 {
644 case 0:
645 essenceId = 65686;
646
647
648 touchId2 = 66001;
649 effect2Id = 65811;
650 break;
651 case 1:
652 essenceId = 67222;
653
654
655 touchId2 = 67281;
656 effect2Id = 67511;
657 break;
658 case 2:
659 essenceId = 67223;
660
661
662 touchId2 = 67282;
663 effect2Id = 67512;
664 break;
665 case 3:
666 essenceId = 67224;
667
668
669 touchId2 = 67283;
670 effect2Id = 67513;
671 break;
672 }
675
677
679 }
680 break;
681 default:
682 break;
683 }
685 return true;
686 }
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:294
uint32 GetEntry() const
Definition Object.h:123
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
Definition Unit.cpp:4830
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:1378
Map * GetMap() const
Definition Object.h:637
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