Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core/Scripts Boss Ahune #14884

Merged
merged 1 commit into from Apr 15, 2016
Merged

Core/Scripts Boss Ahune #14884

merged 1 commit into from Apr 15, 2016

Conversation

sirikfoll
Copy link
Contributor

I know that spawns should only appear when queuing with LFG, but that can be changed when this system is implemented, all npc's that i added to database, needs to be there to work properly.

feedback will be appreciated ^^

Issue #1516

@Aokromes
Copy link
Member

Not sure about spawns, we don't have a proper way to make them visible only when queuing with LFG.


struct boss_ahuneAI : public BossAI
{
boss_ahuneAI(Creature* creature) : BossAI(creature, NPC_AHUNE), _summons(me) { }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong, the constructor asks for the "boss/encounter id" in the given instance, not the creature entry, also, SummonList is already inherited by BossAI

@DDuarte
Copy link
Contributor

DDuarte commented Jun 13, 2015

@sirikfoll: find the spells that you are missing (and anything else like proper template updates) in https://www.dropbox.com/s/d2emkc5qc9dbomw/Dump_07_03_10_12_40_50.bin.7z?dl=0

me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_KNOCK_BACK_DEST, true);
}

void DamageTaken(Unit* who, uint32& damage) override
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as the above, unused parameter


void DoAction(int32 action)
{
if (action = ACTION_START_EVENT)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want == here. (Was this code tested?)

@Kittnz
Copy link
Member

Kittnz commented Jun 15, 2015

@sirikfoll Can you update your PR please?

@sirikfoll
Copy link
Contributor Author

I'm doing some changes, based on info from the Dduarte's sniffs. Soon i'll update


void UpdateAI(uint32 diff) override
{
if (say_timer <= diff)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This whole thing should propably be handled as periodic ticks of http://www.wowhead.com/spell=45928 (buff that should be applied on the player who uses the gossip) also it's not supposed to be a random player but the one who activates the gossip (in go_ahune_ice_stone) and the timing is (atleast on 6.1.2) 1 sec (periodic of the buff) between those say lines.

@sirikfoll sirikfoll force-pushed the bossAhune branch 3 times, most recently from 3f4fc1f to 62ac111 Compare June 25, 2015 12:27
@Treeston
Copy link
Member

Looks good 👍

Tagged for testing.

@Keader
Copy link
Member

Keader commented Jan 28, 2016

I've been using for a long time and for me is working

(25754,0,0,'Ahune Retreats. His defenses diminish.',41,0,100,0,0,0,24931,1,'Earthen Ring Flamecaller - EMOTE_RETREAT'),
(25754,1,0,'Ahune will soon resurface.',41,0,100,0,0,0,24932,1,'Earthen Ring Flamecaller - EMOTE_RESURFACE'),
(40446,0,0,'How DARE you! You will not stop the coming of Lord Ahune!',14,0,100,0,0,0,40437,0,'Skar\'this the Summoner'),
(25697,0,0,'The Ice Stone has melted!',14,0,100,0,0,0,24895,0,'Luma Skymother - SAY_PLAYER_1'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be global announcement?

:trollface:

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If World announcement is correct, the value 0 between 24895 and 'Luma Skymother - SAY_PLAYER_1' needs to be set to 4 to have the Range World set for the creature_text.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was a joke, blizz had it bugged long time ago

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blizzlike it must be! 💃

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was hotfixed in patch 3.0.9

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8f71950#commitcomment-15530581 from Killyana:
"Blizzard mistake we will not reproduce their bugs."
Might be meant only for specific issues, though.

@sirikfoll
Copy link
Contributor Author

Updated with the new Knockback immunity flag

Implemented Midsummer Fire Festival event Boss, Ahune
@sirikfoll
Copy link
Contributor Author

Updated to match new ScriptLoader, btw has anyone tested this PR? '-'

@Kittnz
Copy link
Member

Kittnz commented Mar 4, 2016

@sirikfoll
Copy link
Contributor Author

@Keader
Copy link
Member

Keader commented Mar 31, 2016

Why this not merged yet?

@Treeston
Copy link
Member

Hmmm.

@sirikfoll does the current PR make the encounter only spawn if the event is currently going on?
Also, does the encounter impact dungeon runs in any way if the players don't voluntarily start it (by talking to a NPC or whatever)?

@DDuarte
Copy link
Contributor

DDuarte commented Mar 31, 2016

Why this not merged yet?

Refer to #16067 (comment)

@sirikfoll
Copy link
Contributor Author

If the event(Midsummer Fire Festival) is active, everyone will be able to see the decorative GameObjects inside the instance, Ice Stone(the one used to start the encounter.) included.
The boss will be started only if players manually start it, by selecting the gossip option on the Ice Stone.
If this really is a concern, I can add a condition to only show the gossip option for players in level 80

@Treeston
Copy link
Member

No, it isn't. We can merge this as soon as the PR lock is lifted (see comment by @DDuarte linked above).

Currently most PRs are on hold, until the cherry-picks/merge between branches is finished and the next TDB is released. Once that's done, PRs will be unlocked.

@ccrs
Copy link
Member

ccrs commented Mar 31, 2016

u should add those conditions as well as rdf quest check.
if not, the encounter can be done more than once a day.

@sirikfoll
Copy link
Contributor Author

all event bosses can be done multiple times a day, but just receive rdf reward once, could you elaborate about rdf quest, not sure which you meant?

@ccrs
Copy link
Member

ccrs commented Mar 31, 2016

rdf rewards are in fact daily quests that can be checked

@Treeston
Copy link
Member

Treeston commented Apr 1, 2016

rdf code already checks rdf quest. Boss can be started even if rdf quest has been done for the day.

Not sure what you want changed.

@ccrs
Copy link
Member

ccrs commented Apr 1, 2016

we're talking the same thing over and over hahahahaha
First I said that the boss can be done several times each day, and asked sirikfoll to check that. He told me it was ok, and asked me about the rdf quest. Thats it xD

@mynew4
Copy link

mynew4 commented Apr 14, 2016

When you enter the instance, Fps become much lower。From 100Fps becomes 30Fps

@Treeston Treeston merged commit 99df5f4 into TrinityCore:3.3.5 Apr 15, 2016
@sirikfoll sirikfoll deleted the bossAhune branch April 16, 2016 13:44
DDuarte added a commit that referenced this pull request Apr 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet