Kinglykrab
a11482ff23
[Cleanup] Utilize ConvertSecondsToTime() method. ( #1805 )
...
* [Cleanup] Utilize ConvertSecondsToTime() method.
* Lowercase.
2021-11-23 18:25:02 -05:00
Kinglykrab
4672e48fbd
[Commands] Cleanup #zcolor Command. ( #1813 )
...
* [Commands] Cleanup #zcolor Command.
- Cleanup message and logic.
- Add parameter to allow data to be saved to database.
* Update zcolor.cpp
2021-11-23 16:45:31 -05:00
KayenEQ
8f3cce6585
send graphic to target correctly ( #1785 )
2021-11-23 12:55:58 -05:00
Kinglykrab
8d3a179ecc
[Commands] Remove #zuwcoords Command. ( #1810 )
...
- Remove duplicate command of #zunderworld
2021-11-23 06:03:09 -05:00
Kinglykrab
2cbcefd9a0
[Commands] Cleanup #zheader Command. ( #1814 )
...
* [Commands] Cleanup #zheader Command.
- Cleanup message and logic.
- Add parameter to allow versions to be loaded.
- Cleanup parameter name in CFG methods from instance_id to instance_version.
* Update zonedb.cpp
2021-11-23 05:49:11 -05:00
Kinglykrab
ef06a0d0b6
[Commands] Cleanup #zclip Command. ( #1812 )
...
* [Commands] Cleanup #zclip Command.
- Cleanup message and logic.
- Add parameter to allow data to be saved to database.
* Cleanup.
2021-11-23 05:48:47 -05:00
Kinglykrab
1935ea60d0
[Commands] Remove #zonespawn Command. ( #1811 )
...
* [Commands] Remove #zonespawn Command.
- Remove unimplemented command.
* Remove from CMakeLists.txt.
* Fix.
2021-11-23 05:48:39 -05:00
Kinglykrab
8c7e1be344
[Commands] Cleanup #givemoney Command. ( #1804 )
...
- Cleanup money message to use new helper method.
2021-11-22 21:18:04 -05:00
Kinglykrab
9240497cbc
[Commands] Cleanup #zsky Command. ( #1808 )
...
- Cleanup message and logic.
- Add parameter to allow data to be saved to database.
2021-11-22 21:17:13 -05:00
Kinglykrab
0da4610249
[Commands] Cleanup #zsave Command. ( #1807 )
...
* [Commands] Cleanup #zsave Command.
- Cleanup message and logic.
* White.
2021-11-22 21:17:03 -05:00
Kinglykrab
26c7287997
[Commands] Cleanup #zunderworld Command. ( #1809 )
...
* [Commands] Cleanup #zunderworld Command.
- Cleanup message and logic.
- Add parameter to allow data to be saved to database.
* Update zunderworld.cpp
2021-11-22 21:16:42 -05:00
Kinglykrab
cece66adc6
[Commands] Cleanup #instance Command. ( #1803 )
...
* [Commands] Cleanup #instance Command.
- Cleanups message and logic.
- Cleanup ListAllInstances() method.
- Fix day calculation in ConvertSecondsToTime().
* Cleanup.
* Add return.
2021-11-21 19:02:01 -05:00
Kinglykrab
d29993fafa
[Commands] Cleanup #nukebuffs Command. ( #1795 )
...
* [Commands] Cleanup #nukebuffs Command.
- Cleanup messages and logic.
- #nukebuffs now allows you to nuke all, beneficial, or detrimental buffs, also added a help menu.
- Add BuffFadeBeneficial().
- Cleanup logic in some buff fade methods.
- Fix several spots where we were using CalcBonuses() when it was unnecessary, i.e when you fade no buffs you do not need to recalculate bonuses.
* Update spells.cpp
2021-11-21 15:20:16 -05:00
Kinglykrab
39c27c987d
[Commands] Cleanup #peqzone Command. ( #1794 )
...
- Cleanup messages and logic.
- Add RULE_INT(Zone, PEQZoneHPRatio, 75, "Required HP Ratio to use #peqzone")
- Modify #peqzone Timer rule to allow it to be disabled.
2021-11-21 14:19:08 -05:00
Kinglykrab
5470ec6293
[Commands] Cleanup #corpse Command. ( #1790 )
...
- Cleanup message and logic.
- Add ConvertMoneyToString(platinum, gold, silver, copper) helper method.
- Cleanup NPC::QueryLoot() and Corpse::QueryLoot().
2021-11-21 14:02:03 -05:00
Kinglykrab
1acdc6034b
[Commands] Cleanup #permagender Command. ( #1779 )
...
- Cleanup message and logic.
2021-11-21 14:01:15 -05:00
KayenEQ
e9fc80815a
[Spells] Support for SPA 161 and 450 to give percent spell or dot mitigation from Items or AA's. ( #1793 )
...
* spell dot shield item AA support
* Update spdat.h
* Update attack.cpp
2021-11-21 10:16:55 -05:00
splose
a84536cd05
[Bug Fix] Autofire attacking yourself ( #1776 )
...
* Fix being able to attack yourself with autofire if Combat:MinRangedAttackDist == 0
* requested changes
* 2
2021-11-21 10:16:20 -05:00
splose
0a34809bb3
[Bug Fix] - Monk AA Spirit of Master Wu ( #1775 )
...
* Monk AA Spirit of Master Wu sends message even if it grants 0 extra attacks.
* fomatting + put if statement in wrong place.. oops.
* Need to push something to set up my Tortoise Github Auth
* test
* test
* test
* test
* test
* requested changes
* Update special_attacks.cpp
Co-authored-by: Kinglykrab <89047260+Kinglykrab@users.noreply.github.com>
2021-11-21 10:15:36 -05:00
Kinglykrab
03847fb1ac
[Commands] Cleanup #lastname Command. ( #1802 )
...
- Cleanup message and logic.
2021-11-21 10:12:47 -05:00
Kinglykrab
8a27fce3a8
[Commands] Cleanup #memspell Command. ( #1801 )
...
- Cleanup message and logic.
- Add support for memorizing spell to target if you have GM enabled.
2021-11-21 10:12:37 -05:00
Kinglykrab
6a42639386
[Commands] Cleanup #pvp Command. ( #1800 )
...
- Cleanup messages and logic.
2021-11-21 10:12:23 -05:00
Kinglykrab
b9214bfdee
[Commands] Cleanup #aggro Command. ( #1799 )
...
- Cleanup messages and logic.
- Cleanup constant names and references.
- Cleanup aggro description methods.
2021-11-21 10:12:12 -05:00
Kinglykrab
04fda24c8e
[Commands] Cleanup #aggrozone Command. ( #1798 )
...
- Cleanup message and logic.
- Add the ability to aggro the zone on your target if you have one.
2021-11-21 10:12:02 -05:00
Kinglykrab
446c5d90ec
[Commands] Cleanup #killallnpcs Command. ( #1797 )
...
- Cleanup message and logic.
2021-11-21 10:11:47 -05:00
Kinglykrab
80f15ed04a
[Commands] Cleanup #myskills Command. ( #1796 )
...
- Cleanup popup window display and logic.
2021-11-21 10:11:29 -05:00
Kinglykrab
51fb46556d
[Commands] Cleanup #setfaction Command. ( #1792 )
...
- Cleanup message and logic.
- Doesn't allow you to use invalid faction IDs anymore.
2021-11-21 10:11:03 -05:00
Kinglykrab
d73194c1f6
[Commands] Cleanup #setanim Command. ( #1791 )
...
- Cleanup message and logic.
- SetAppearance was not sending to self, so if you modified your own appearance, you wouldn't be able to see it.
2021-11-21 10:10:52 -05:00
Kinglykrab
ec1cf68ce2
[Commands] Cleanup #damage Command. ( #1789 )
...
- Cleanup logic.
2021-11-21 10:08:20 -05:00
Kinglykrab
39b39970f6
[Commands] Cleanup #ginfo Command. ( #1788 )
...
- Cleanup message and logic.
2021-11-21 10:03:31 -05:00
Kinglykrab
40edefa6f4
[Commands] Cleanup #camerashake Command. ( #1787 )
...
- Cleanup message and logic.
- Fix ConvertSecondsToTime logic for milliseconds.
- Add ConvertMillisecondsToTime inline function.
2021-11-21 10:03:20 -05:00
Kinglykrab
7154d5b841
[Commands] Cleanup #flags Command. ( #1783 )
...
- Cleanup message and logic.
2021-11-21 10:03:08 -05:00
Kinglykrab
dfe43ce189
[Commands] Cleanup #nukeitem Command. ( #1782 )
...
* [Commands] Cleanup #nukeitem Command.
- Cleanup message and logic.
* Typo.
2021-11-21 09:59:07 -05:00
Kinglykrab
69d5fee471
[Commands] Cleanup #givemoney Command. ( #1781 )
...
* [Commands] Cleanup #givemoney Command.
- Cleanup message and logic.
* Update givemoney.cpp
2021-11-21 09:58:23 -05:00
Kinglykrab
f1d9221b4c
[Commands] Cleanup #invul Command. ( #1780 )
...
- Cleanup message and logic.
2021-11-21 09:58:13 -05:00
Kinglykrab
fb2f901539
[Commands] Cleanup #permarace Command. ( #1778 )
...
- Cleanup message and logic.
2021-11-21 09:56:27 -05:00
Kinglykrab
7c12c5d5ef
[Commands] Cleanup #permaclass Command. ( #1777 )
...
- Cleanup message and logic.
2021-11-21 09:56:10 -05:00
splose
7559732408
[Bug Fix] Frenzy is supposed to use 1H Animation. ( #1774 )
2021-11-21 01:19:04 -05:00
KayenEQ
fac0d795f2
[Bug Fix] Melee Life tap overflowing and causing damage ( #1773 )
...
* Update mob.cpp
* Update mob.cpp
2021-11-18 09:10:02 -05:00
Kinglykrab
3efd9c7f60
[Cleanup] Convert DeleteItemInInventory quantity to int16. ( #1767 )
...
* [Cleanup] Convert DeleteItemInInventory quantity to int16.
* Type conversion.
2021-11-16 08:52:22 -05:00
Kinglykrab
bf8a0328b3
[Cleanup] Add Entity ID to ShowStats() NPC display. ( #1770 )
2021-11-15 18:19:42 -05:00
Michael Cook (mackal)
0ebb1cc54c
Fix linking tests due to ddcb18418 ( #1769 )
2021-11-15 13:27:01 -05:00
Akkadius
a111668888
[Hotfix] Default PR #1758 to false
2021-11-15 04:07:55 -06:00
Chris Miles
0550fcfd3f
[GM Commands] Split GM Commands Into Separate Files ( #1766 )
...
* Split GM commands into their own files
* Code cleanup
2021-11-14 22:48:47 -06:00
Kinglykrab
293361a1f7
[Cleanup] Make use of AccountStatus constants wherever status is checked or used. ( #1764 )
...
* [Cleanup] Make use of AccountStatus constants wherever status is checked or used.
- Cleanup all instances of SendEmoteMessage.
- Cleanup all instances of SendEmoteMessageRaw.
- Cleanup all instances of MessageStatus.
- Convert Quest API method defaults to use constants.
* Cleanup constant names.
2021-11-14 21:01:13 -06:00
Kinglykrab
5d75b7b365
[Commands] Cleanup #advnpcspawn and #npcspawn Commands. ( #1754 )
...
* [Commands] Cleanup #advnpcspawn and #npcspawn Commands.
- Cleanup messages and logic.
- Add enum for spawn types to remove magic numbers.
- Cleanup messages that were improper/unused.
* Cleanup.
* Cleanup.
* Cleanup.
* Typo.
* Update command.cpp
2021-11-14 19:58:55 -06:00
Natedog2012
6400e2f8bc
[Rules] Add option rule to load AA based on CurrentExpansion rule ( #1758 )
...
* Add option rule to load AA based on CurrentExpansion rule
* Default UseCurrentExpansionAAOnly to true
* Only clear the PlayerAA when reloadingAA
2021-11-14 19:54:45 -06:00
JJ
76b0183a0f
[Loginserver] Increase IP/hostname size a bit more ( #1765 )
2021-11-14 19:53:53 -06:00
JJ
b3471c51df
[Config] Delete extra versions ( #1763 )
...
* [Config] Delete extra versions [CI SKIP]
* Same
2021-11-14 19:53:14 -06:00
Kinglykrab
b2c86f5571
[Commands] Cleanup #raidloot Command. ( #1757 )
...
- Cleanup message and logic.
- Add RaidLootTypes enum and map for names.
2021-11-14 19:50:51 -06:00