Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Quick Draw Damage #20

Open
topaz-bot opened this issue Jan 8, 2020 · 13 comments
Open

Quick Draw Damage #20

topaz-bot opened this issue Jan 8, 2020 · 13 comments
Labels
bug Something isn't working

Comments

@topaz-bot
Copy link
Collaborator

Issue by RwNigma
Tuesday May 26, 2015 at 20:46 GMT
Originally opened as DarkstarProject/darkstar - Issue 1480


Darkstar Issue Darkstar Issue This is the current damage modifier:

local dmg = 2 * player:getRangedDmg() + player:getAmmoDmg() + player:getMod(MOD_QUICK_DRAW_DMG);

This doesn't check for Elemental Staffs, MAB, and Weather. MOD_QUICK_DRAW_DMG may account for these, but looking at that variable I don't see where these are applied.
Darkstar Issue Darkstar Issue Damage according to The wiki page is as follows:

(I understand the Tricone isn't coded)
(2 * (Gun base DMG + bullet base DMG + Corsair's Tricorne bonus)) * (1 + (MAB / 100)) * (Elemental Staff bonus) * (Day/Weather Bonus)
Darkstar Issue Darkstar Issue I also noticed that the shots are giving improper status effects. These apply to all of them giving these types of status effects.

Wind Shot:
local effects = {};
local counter = 1;
local choke = target:getStatusEffect(EFFECT_CHOKE);
if (choke ~= nil) then
effects[counter] = choke;
counter = counter + 1;
end
Going to assume this gives the mob "Choke"? This gives a VIT debuff and lowers total HP?
Darkstar Issue Darkstar Issue FFxiCyclo has Shots as listed:

Light Shot: Dia Defense Down+5%, Damage Over Time increase *
Dark Shot: Bio Attack Down+5%, Damage Over Time increase; Blind+10%
Earth Shot: Slow+10%
Wind Shot: Acid Bolt Defense Down+5%, Silence+10%, Gravity+10%
Ice Shot: Paralyze+10%, Bind+10%
Thunder Shot: Stun+10%
Water Shot: Poison Duration increase

Special Note about Dia/Bio: Quick Draw will upgrade Bio and Dia to their next spell tier. E.g. Dia II augmented by Light Shot becomes equivalent to Dia III and thus is not overwritten by Bio II. Presumably, Bio III and Dia III augmented by Quick Draw become equivalent to "Bio IV" and "Dia IV."Exclamation
Regardless of tier, the bonus provides a flat +3 DoT bonus.

@topaz-bot
Copy link
Collaborator Author

Comment by RwNigma
Tuesday May 26, 2015 at 20:54 GMT


I am interested in Coding and have C++, Visual Basic, and Java under my belt. I wouldn't mind giving it a go and coding when I get settled after this week. I have talked to Nesstea before about it and I just need to get the files and start on things.

@topaz-bot
Copy link
Collaborator Author

Comment by takhlaq
Tuesday May 26, 2015 at 21:09 GMT


hop on irc if you need anything (see github/DarkstarProject/darkstar/blob/master/README.md for info)

@topaz-bot
Copy link
Collaborator Author

Comment by teschnei
Tuesday May 26, 2015 at 22:08 GMT


"This doesn't check for Elemental Staffs, MAB, and Weather."

sure it does. it's actually on the very next line

@topaz-bot
Copy link
Collaborator Author

Comment by teschnei
Tuesday May 26, 2015 at 22:11 GMT


as for the chunk about choke, it doesn't actually do anything yet at that point, just checks if the mob has choke and saves the effect for later. (later it checks the array of effects the target has, picks one, and augments it. for this specific shot, it checks for choke and threnody)

@topaz-bot
Copy link
Collaborator Author

Comment by RwNigma
Wednesday May 27, 2015 at 02:08 GMT


I see the earth staff under the player bonuses. Is the weather then under "params" within playerbonuses? Magic attack bouns I don't see within the code unless again it is within "params". I know that getlines(); tend to grab from almost anywhere, and from classes and books that its the easy way to do things.

Checks if it has choke...Shouldn't it check if it has Slow? Or this is just to apply extra damage to it if it has choke applied? First time with LUA, but it looks a lot like C++. Just wanting to get better at it. And I am not meaning to post things if it doesn't need to be fixed, but more to make sure I guess.

@topaz-bot
Copy link
Collaborator Author

Comment by teschnei
Wednesday May 27, 2015 at 02:10 GMT


Slow is an earth spell, so wind shot would not check it (earth shot would, and does).

addBonusesAbility is in magic.lua, you can see everything for affinity (staff) and weather in there

@topaz-bot
Copy link
Collaborator Author

Comment by RwNigma
Wednesday May 27, 2015 at 02:12 GMT


Was looking in earth shot and was talking here still as I was looking at wind shot.

So does wind shot actually give the mob gravity status, DEF down, and Silence?

magic.lua makes my head hurt haha.

@topaz-bot
Copy link
Collaborator Author

Comment by dazusu
Wednesday May 27, 2015 at 14:21 GMT


Note that the bonuses to Dia, Bio, Blind, Slow, Paralyze, Silence, Gravity, Stun ONLY occur if the spell/enfeeble is landed on the monster 2~3 seconds after the shot; kind of like a magic burst. This wasn't stated in the opening post, so adding it here.

@topaz-bot
Copy link
Collaborator Author

Comment by teschnei
Wednesday May 27, 2015 at 14:41 GMT


er... no, that is not true at all. it enhances it as long as the debuff is applied to the target when the quick draw is fired

@topaz-bot
Copy link
Collaborator Author

Comment by dazusu
Wednesday May 27, 2015 at 15:15 GMT


Maybe I'm remembering wrong; I thought the debuff was only amplified if the quickdraw shot landed a few seconds after the debuff was applied - but if it was too long after, the bonus didn't happen (I got the order the wrong way around in my other post).

I could easily be mistaken, it was a long time ago I did shit on retail that required a COR :)

@topaz-bot
Copy link
Collaborator Author

Comment by RwNigma
Wednesday Jun 03, 2015 at 18:59 GMT


Eh. No one needs a COR, but I really enjoy the job and was just making sure quick draw was working correctly. Can we confirm or deny the few seconds window because a lot of skill chains and magic bursts aren't working as intended.

@topaz-bot
Copy link
Collaborator Author

Comment by teschnei
Wednesday Jun 03, 2015 at 19:03 GMT


The few seconds window is denied. If you are having problems timing
weaponskills or magic bursts, please open a new issue on it.

@topaz-bot
Copy link
Collaborator Author

Comment by RwNigma
Wednesday Jun 03, 2015 at 19:08 GMT


Awesome. Thanks teschnei. I will check some skill chains and get back on that.

@project-topaz project-topaz added the bug Something isn't working label Jan 8, 2020
jdsmall25 added a commit to jdsmall25/topaz that referenced this issue Aug 19, 2020
* removing some tabs

* Add files via upload

Additional shuriken pouches that were missing: Fuma, Juji, Manji and Shuriken.

SQL query to add usage:
INSERT INTO item_usable (itemid, name, validTargets, activation, animation)
VALUES ('6297', 'juji_shuriken_pouch', '1', '1', '55'); 
VALUES ('6298', 'manji_shuriken_pouch', '1', '1', '55'); 
VALUES ('6299', 'shuriken_pouch', '1', '1', '55'); 
VALUES ('6302', 'fuma_shuriken_pouch', '1', '1', '55');

* Update curing_waltz_iv.lua

99 subjob adjustment

* Update curing_waltz_v.lua

99 subjob adjustment

* Update abilities.sql

added 295,'curing_waltz_v'

* Disables NM Lottery System (project-topaz#7)

* Player changes (project-topaz#9)

* Always grants starting ring, adds warp ring and makes it immediately usable.

* Adds setting for warp ring

* Adjusted items_usable.sql

Adjusted items_usable.sql as requested

* Update Despot

Set position and spawn claimed to killing player.

* Fix Shen crash on pop

* Change updateClaim to clear claim when no args

Also just return if used on something other than a mob, rather than crash.
Fixes issues with COR elemental shots, angon, and chi blast when used on
charmed players.

* More aern QC from Nyu (retail)

* infill missing coords that were throwing errors during server start

* When receiving multiple stacks of a given item, only display obtained message once

* Fix crashiness during quest Flyers for Regine

* Adds setting to always allow chocobo rentals without a license or lvl requirement (project-topaz#10)

* chore(custom_sql) split and moved custom sql features into matching feature flag names (project-topaz#11)

Co-authored-by: Dacrybabysuck <[email protected]>

* change(settings) disabled casket drops (project-topaz#13)

Co-authored-by: Dacrybabysuck <[email protected]>

* chore(sql) organized and formatted sql (project-topaz#12)

Co-authored-by: Dacrybabysuck <[email protected]>

* fix(sql) lottery spawn sql file name change (project-topaz#14)

Co-authored-by: Dacrybabysuck <[email protected]>

* Implement Rampart as -25% SDT rather than 100% magic shield

* Changed Shield Bash for Paladin UPDATE: 12FEB2020
https://forum.square-enix.com/ffxi/threads/56444-February-12-2020-%28JST%29-Version-Update
This was changed with the update for 12FEB2020
Made change to merit as it went down from 6 seconds to 2.

* Ru'Aerns QC

* R202006-01

* Updated Grades.CPP line 62 to include RUN trait

-RUN traits cross-referenced with our data-base stats and the stats of
current retail to tabulate what the stats should be.

* Switch Weather to binary bitblobs

Changes the weather system to store weather in
packed bit-pattern blob instead of 237K DB rows.
Uses a new weather table, so as not to conflict
with older installations.

* Adds a setting to make homepoint teleports free. (project-topaz#15)

* Fix issue when zone_weather was renamed

* Compiler updates - cmake/makefile.am

- Add -Werror for other builds
- .gitignore **/config.* - weird created /common/config.in~
- fix some unused variables
- fix parenthesis in if-statements
- add default where switch case not handled
- fix uint -> int casting

* Update zone_weather to be exported via hex blob

* GEO SQL and Header changes (project-topaz#689)

* GEO SQL and header files

* Spell list additions and cleanup

* Adjust automaton controller to use new effect enums

* Remove on_zone flag from Dynamis effect

Update effect to clear if player leaves the zone, but not on tractor.
Also replace bad function call in sj_restriction. Fixes project-topaz#695

* Fix leak and change ip2str to return std::string

* Nuke visited charvar after sack has been purchased.

* Update signet.lua (project-topaz#16)

Remove debug message.

* IP/Subnet mask in socket was calculated incorrectly

- Fixes project-topaz#686
- ntohl changes from network byte order to host byte order
- Mask was swapped, IP was not swapped

Test on win/nix, but not for every mask combination

* Gobbiebag uses tpz.inv and does the correct bags

* change(settings) disabled always allowing chocobo rental (project-topaz#17)

Co-authored-by: Dacrybabysuck <[email protected]>

* R202006-02

* Fix Flashbulb and mob Sleepga from crashing server when resisted

* Custom epoch for Vana'diel time

Rename setting to epoch from offset to hopefully clarify usage.
Adjust luautils function used with GM command.

Fixes issue project-topaz#552

* Linkshell fixes

Make linkshell name available again after linkshell breaks.
Require link item to be worn when trading linkpearls.
Table some text ids.

* Small optimizations

* Updates for nix builds

- Remove -Wfatal-errors to get all errors at once
- Adding error ignores from gcc-8 changes (makefile/cmake)
- Adding above-line TODOs with error to be fixed later

* Table spell IDs + move other magic enums out of magic global

* Add conditions to delivery box block

Check if player is in residential area.

* Add var and binding for isDualWielding + remove presumptuous granting of mod to all NIN NMs

* reduced double-up cooldown to 5 seconds

* remove cooldown on double-up after using a roll

* Detonator QM1 (17404356) fixed in NPC_List table

* [client update] npc id shifts
[client update] text id shifts
[client update] version.conf

* Fixes Poisonhand Gnadgad's drops to be grouped

* Adds Rising Sun and Ebony Wand desynths

* Fix Half Partition synth level requirements

* Fix typo in sql handle

* fixing values based on 1000 tp model and fixing overflow

* add comment for clarity on phantom roll cooldown

* Adds scripting and DB edits for NM Backoo

* added more accurate spawn coords and changed pool id

* R202006-03

* Added already coded spells to RUN

Updated binary code to allow RUN to cast spells they have. 

Crusade, and Regen IV are not currently coded and not able to update for run specifically. Foil is still commented out and I'm not sure if that is because RUN is technically NYI at this time or because something is wrong with it.

* Changes to two mob droplist
using TH hunter table (https://www.bg-wiki.com/bg/Treasure_Hunter)
http://www.ffxidb.com/zones/61/wamoura-prince
and
http://www.ffxidb.com/zones/137/savage-ruszor

* Improve comment professionalism

* Fix wrong boot arg read

* Remove automatic HP multiplier when a mob is marked as an NM. This was entirely made up. NMs which have been CONFIRMED to have HP values that aren't in line with the standard growth scale should have their HP manually set instead.

* Fix region check when OP teleporting

* Add adds to Promy-Dem BCMN

Fixes project-topaz#740

* Remove fictional NM stat and MP multipliers

* Fix True Will title

* Add Herculean item mods (project-topaz#752)

* added Herc armor set into item_mods.sql

added Herc set
item IDs
helm 25642
body 25718
legs 25842
gloves 27140
boots 27496

Co-authored-by: Wletour <[email protected]>

* --Added POSes (X, Y, Z, Rotation) for Aqueduct Spiders in Sacrarium.
--Removed rows for Aqueduct Spider Mob IDs that didn't appear in the source.
(Source of POS info is the FFXI Captures discord (thanks Wiggo!))

* R202006-04

* Devil Tab uses Hide.
/despawnmob Tab
DIE DEVIL TAB!!!!!!

* BaseSell prices and version.conf message updates.

* Fix double-free errors in exit/crash

Since do_final could be called multiple times if a
signal/error occurs during shutdown condition, this ensures
that called shutdown procedures safe against double-freeing.
It should also make it more resistant to looping terminate calls.

* Updates for item_equipment.sql, item_latents.sql, item_weapon.sql from lelia
Still need to do item_mods, but holding to prevent conflict with project-topaz#752
Still need to add lelia scripts, but I will do that in a separate PR.

* Update timeoffset GM commands

* Add -Wno-stringop-truncation flag for now

* Updated item_basic.sql to match with Lelia (Submitted the update to DSP discord).
Everything is double checked with FFXI AH/FFXIcyclopedia/BGWiki.
I only did some price checks for items that were 0 when it was obvious they weren't (And zeroed one that cannot be npced...)

* Restore sale price of Penelope Cloth

* R202007-01

* RK Sollerets +1/+2: sort by id
Imperial Bow: fix incorrect id, then sort by id

* removing spell script

* Update sanction.lua (project-topaz#19)

* Fix level of one Demon's Elemental in Uleguerand
Add groups/pools for Livid Seethers and Woeful Weepers

* Fix Moblin Millionaire level range in Halvung
Assign some groups/infill some pools for Campaign mobs in La Vaule [S]

* Campaign mobs in Grauberg [S]

* Return Half Partition synth level to 88, but drop subskill requirement.

* Fix issue with not referencing text IDs

Looks like a set of overlooked changes when tabling occurred

* Wrong resell price of apkal fletching
It was selling for too much, could lead to abuse of gil making

Thank you Hiro from Canaria server for bringing this up and Aether for verifying actual price (https://discord.com/channels/639659267003252746/639659267003252748/731959005315989542)

* chore(conf) moved to using default configuration that can be changed in the docker-compose build process.

* fix(packer) resolve an issue causing packer and dressme to not work (project-topaz#20)

Co-authored-by: Dacrybabysuck <[email protected]>

* Initial ability setup

* Allow me to create a test account

* first pass at cover implementation

* fixing a few mistakes

* Fixing syntax

* More fixing of syntax

* synatx

* syntax

* Syntax fixes

* Syntax

* Syntax

* Syntax

* Syntax

* Syntax

* Syntax

* Adds enmity logic

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Adding Debuging for emnity logic

* Adding Debuging for emnity logic

* Adding Debuging for emnity logic

* Adding Debuging for emnity logic

* Adding Debuging for emnity logic

* Adds equipment based duration bonuses

* Cover will now work with abilities and magic if properly equipped

* Moving absorb dmg to mp to lua

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Syntax fixes

* Add check for mobskill against a player

* More checks for objtype

* Additional debug

* Additional debug

* More debugging

* More debugging

* More debugging

* More debugging

* More debugging

* More debugging

* Moving Enmity logic

* Moving enmity logic to the container

* Updating magic enmity logic

* Debugging enmity changes

* Debugging

* Add gear check for absorb and more debugging

* Syntax

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging

* Debugging distance

* Update login.conf

* Formatting/Style clean up and changed IsCoverAbsorbed to GetCoverAbsorb

* Adding documentation

Co-authored-by: unknown <[email protected]>
Co-authored-by: Era-Lusiphur <[email protected]>
Co-authored-by: Wletour <[email protected]>
Co-authored-by: Dacrybabysuck <[email protected]>
Co-authored-by: Corey <[email protected]>
Co-authored-by: wrenffxi <[email protected]>
Co-authored-by: 59blargedy <[email protected]>
Co-authored-by: dacrybabysuck <[email protected]>
Co-authored-by: kaincenteno <[email protected]>
Co-authored-by: zircon-tpl <[email protected]>
Co-authored-by: mrmclaw <[email protected]>
Co-authored-by: ibm2431 <[email protected]>
Co-authored-by: Kreidos <[email protected]>
Co-authored-by: Brian Silvi <[email protected]>
Co-authored-by: Tyler <[email protected]>
Co-authored-by: 59blargedy <[email protected]>
Co-authored-by: Illzbee <[email protected]>
Co-authored-by: EpicTaru <[email protected]>
Co-authored-by: Nyu <[email protected]>
Co-authored-by: Helix Hamin <[email protected]>
Co-authored-by: Shelby Hagman <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant