topaz-next / topaz

πŸ’Ž A server emulator for Final Fantasy XI.
GNU General Public License v3.0
55 stars 81 forks source link

elemental resistances to breath attacks #876

Open topaz-next-bot opened 3 years ago

topaz-next-bot commented 3 years ago

Issue by topaz-bot Wednesday Jan 08, 2020 at 14:36:21 Originally opened as: project-topaz/topaz - Issue 132


Issue by whb07 Wednesday Aug 31, 2016 at 19:54 GMT Originally opened as DarkstarProject/darkstar - Issue 3347


Looked into the issue of breath damage not properly being resisted- Taking breath damage from fafnir he is still doing upwards of 1k damage to a setup of 268+ fire ele resistance on my WAR. Granted there are some times where I do resist, but its few and far between. I have seen some old forum threads on BG and others where they talk about getting above 200+ ele getting resists was very common, including pictures of a NIN tank taking as little as low 50s dmg on breath attack consistently. Resistance rate needs to be upped in order to open up more jobs and make the elemental resistances worthwhile to bring to HNMs and the like. Thats how other tanks were possible to tank hnms rather than just throwing a paladin at it.

Edit: forgot link, this was an issue 3 years ago and supposedly fixed breath attacks. github/DarkstarProject/darkstar/commit/3f165eb6519863b1afd2d1aa5c0bcda5191dc305

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:23


Comment by Hozu Thursday Sep 01, 2016 at 02:20 GMT


Breath attacks are pretty much normal magical mobskills with +200 magic accuracy, along with damage from HP. On DSP that is.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:24


Comment by Hozu Thursday Sep 01, 2016 at 16:16 GMT


Actually, I may be wrong about the +200 magic accuracy bonus on breaths, because I can't find it. However, they are using dINT as part of the formula: github/DarkstarProject/darkstar/blob/master/scripts/globals/monstertpmoves.luaDarkstar Issue L483

That would explain why I resisted every breath on my NIN in my nuke set. That... doesn't seem right.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:25


Comment by whb07 Thursday Sep 01, 2016 at 18:13 GMT


well like stated before, NIN has access to a number of +ele resists sets which would help against breath damage or other elemental attacks. Getting above 250+ would mean you were actively resisting a significant portion of the attacks. I am arguing it doesnt resist as much as it should

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:26


Comment by bendangelo Thursday Sep 01, 2016 at 19:34 GMT


If you can provide some documentation on the expected resist rates. I can tweak the equation.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:27


Comment by whb07 Thursday Sep 01, 2016 at 23:16 GMT


BG forum talking on fire resists= https://www.bluegartr.com/threads/55795-Fire-resist-or-magic-damage -essentially starts derailing but states 250+ or even breaking 300 is close to getting 0 dmg a considerable number of times from wyrms elemental attacks.

http://rukenshin.livejournal.com/?skip=12 -under "barfira owns tiamat" rukenshin blogs bout having a fire resist set saying 95%+ of fire attacks he resisted from tiamat

ffxi alla forum post: http://ffxi.allakhazam.com/forum.html?forum=10&mid=118485558530974161&h=50 "When Tiamat is flying in the air, bard carol with crumhorn, and whm barspell is NOT enough, not even close. You need to get into the 270-290 total range to start resisting its attacks. With say about 130-150 in gear, which I understand is not the easiest to obtain, those 260-270 fire shots get reduced to 30 almost full time. To show that there is a tier, at around 240-250ish fire resistance, you rarely resist any attack and take the full 260-270ish damage. " https://www.bluegartr.com/threads/74070-Question-about-Elemental-Resists-on-gear -talks on tiers on elemental resists

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:28


Comment by whb07 Thursday Sep 01, 2016 at 23:19 GMT


trying to get at is once this issue with elemental attacks from wyrms and other hnms is fixed will open up the game to other possible tanks as was the case in retail with nin/drk, nin/brd, rdm, etc. and not just depending on a paladin to have high innate HP and vitality + aegis to just eat full dmg breath + ele attacks.

Also to add to this, not to derail but the allakahazam thread talks about moves like gates of hades which gives burn can be fully resisted with elemental setup which would make sense. This also opens up a new pathway for bards to actually give a damn about carols or whms meriting bar spells

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:30


Comment by Hozu Friday Sep 02, 2016 at 02:11 GMT


Well the aerial attacks are being resisted most of the time at the 270 total resist range, and it doesn't look like breath attacks have a different accuracy calculation so... I haven't been hit by a breath from Tiamat in a very long time so I don't know how the resist rate is at that amount.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:31


Comment by whb07 Friday Sep 02, 2016 at 02:24 GMT


It's also calculated for all attacks which are based on elemental magic: i.e wyrm breath, gates of hades for Cerberus, etc. opening up elemental resistance to work brings in more aspects to the current game than possible. As the forums presented state as long as you're properly equipped for the correct elemental attack

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:32


Comment by ibm2431 Friday Sep 02, 2016 at 12:05 GMT


Elemental resistance aside, are breath moves supposed to use dINT or any other dStat?

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:33


Comment by bendangelo Friday Sep 02, 2016 at 13:28 GMT


Thanks whb07, I'll tweak it this weekend.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:35


Comment by Hozu Friday Sep 02, 2016 at 15:46 GMT


I don't see why it should be using dINT or anything - breaths aren't even magic damage.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:36


Comment by Deadwing888 Wednesday Sep 07, 2016 at 02:59 GMT


The aspect of Wyrm breath where they do considerably less when standing on paws does not currently function on DSP.

angle = mob:getRotPos() - angle;
dmgmod = dmgmod * ((30-math.abs(angle))/30);
dmgmod = utils.clamp(dmgmod, 350, 1800);

This provides a much more realistic emulation of their damage.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:37


Comment by teschnei Wednesday Sep 07, 2016 at 03:12 GMT


is that code supposed to be independent? or are you adding it on somewhere?

On Tue, Sep 6, 2016 at 8:59 PM, Deadwing888 notificationsgithub.com wrote:

The aspect of Wyrm breath where they do considerably less when standing on paws does not currently function on DSP.

angle = mob:getRotPos() - angle; dmgmod = dmgmod * ((30-math.abs(angle))/30); dmgmod = utils.clamp(dmgmod, 350, 1800);

This provides a much more realistic emulation of their damage.

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub github/DarkstarProject/darkstar - Issue 3347Darkstar Issue issuecomment-245161216, or mute the thread github/notifications/unsubscribe-auth/ABGI__xZCLr3EF48Dq0t1LxtBCpDLwmiks5qniiXgaJpZM4Jx_4q .

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:38


Comment by Hozu Wednesday Sep 07, 2016 at 03:43 GMT


It's in individual breath mobskill scripts, values vary of course.

github/DarkstarProject/darkstar/blob/master/scripts/globals/mobskills/Dragon_Breath.luaDarkstar Issue L29

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:39


Comment by whb07 Wednesday Sep 07, 2016 at 04:40 GMT


Where does it account for elemental resistance of player?

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:40


Comment by Deadwing888 Tuesday Sep 13, 2016 at 00:22 GMT


teschnei

Sorry for the late response on this. The code I posted is similar looking to the code which can be found in each wyrm breath mobskill lua currently--Firey Breath, Dragon Breath, etc.

The difference being the angle math it's doing (which I do not understand) but guess and check shows these modified angle values to be the correct ones.

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:42


Comment by teschnei Tuesday Sep 13, 2016 at 01:45 GMT


ah, yes - the angle value (prev. 128) is in either direction, so 128 meant it only went to 0 when standing directly behind (which is of course pretty wrong)

On Mon, Sep 12, 2016 at 6:22 PM, Deadwing888 notificationsgithub.com wrote:

teschnei github/teschnei

Sorry for the late response on this. The code I posted is similar looking to the code which can be found in each wyrm breath mobskill lua currently--Firey Breath, Dragon Breath, etc.

The difference being the angle math it's doing (which I do not understand) but guess and check shows these modified angle values to be the correct ones.

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub github/DarkstarProject/darkstar - Issue 3347Darkstar Issue issuecomment-246536560, or mute the thread github/notifications/unsubscribe-auth/ABGI_3085glTbqbLowKZffReEoGWySs9ks5qpezYgaJpZM4Jx_4q .

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:43


Comment by whb07 Sunday Sep 25, 2016 at 23:44 GMT


any updates?

topaz-next-bot commented 3 years ago

Comment by topaz-bot Wednesday Jan 08, 2020 at 14:36:44


Comment by nyczducky Thursday Oct 27, 2016 at 15:38 GMT


As a "fix" for this, I capped the damage done by breath attacks. This is not correct by any means and it is a really shitty way to handle it but at least the wyrms aren't one shotting fire resist PLDs in the meantime:

Go to the breath attacks in scripts\globals\mobskills\NAMEOFBREATHATTACK.lua

Look for this line: dmgmod = utils.clamp(dmgmod, 50, 1600);

Change the last set of numbers (in this case 1600) to whatever you want the max damage to be.

I personally changed it to 600.

As for the breath radius, I just told people to stand on the wyrms side instead of at it's feet like retail. Not sure if this still works after the mob facing fix.