4255 Commits

Author SHA1 Message Date
Akkadius
4b6ab34fd9 Fix, cleanup and simplify the roambox logic and cleanup a bunch of other related code 2018-08-18 18:12:18 -05:00
Uleat
79229235bd Added 'LootRequestType::GMPeek' to Corpse::LootItem() fail criteria 2018-08-18 08:10:44 -04:00
Akkadius
40cb53f5a4 Syntax, naming and formatting tweaks 2018-08-17 23:54:24 -05:00
Michael Cook (mackal)
7cc5b143fc Make lua raid GetGroup functions signed
The server code is unsigned for bad reasons :P
2018-08-16 22:33:07 -04:00
Michael Cook (mackal)
ace81215a1 Correct when tanks can be hit by AE Rampage
Tanks will only be hit by AE Rampage if they're the only one on the
NPC's hate list. Others on hate list out ranging AE Rampage will also
prevent the tank from being hit by AE Rampage.
2018-08-16 17:13:34 -04:00
Michael Cook (mackal)
ffb9323a98 Revert "AE rampage shouldn't hit target"
This reverts commit 30148c3c567a4d79e7c0eee37ed408686702f3e7.

Was thinking of wrong thing ... logs say otherwise :P
2018-08-16 13:18:00 -04:00
Michael Cook (mackal)
30148c3c56 AE rampage shouldn't hit target 2018-08-16 13:01:19 -04:00
Michael Cook (mackal)
585ef81fde Fix lua raid GetGroup(client) and add lua raid GetGroupNumber(index)
This number will return group number and not let us iterate a bunch of
times to verify group numbers
2018-08-15 21:35:19 -04:00
Uleat
509a2b30a5 Inventory possessions beta testing 2018-08-13 22:32:36 -04:00
Michael Cook (mackal)
54abeba1ce
Merge pull request #766 from noudess/master
Change spell logic to use min_hp from spell list.
2018-08-12 15:55:59 -04:00
Paul Coene
e582a8d17a Change spell logic to use min_hp from spell list. 2018-08-12 15:35:38 -04:00
Akkadius
4b7126a2cd Bots fix 2018-08-11 00:41:51 -05:00
Akkadius
1e0ec048af HP update adjustment that should cover a scenario when mob is feared 2018-08-11 00:12:09 -05:00
Uleat
ddd3e43d4e Added 'no valid genders' conditional to bot create validation [ci skip] 2018-08-10 22:02:19 -04:00
Uleat
053c35c59b Added optional rules for bot class/race/gender values
- run the optional script '2018_08_10_bots_allowed_criteria_rules.sql' if you want to change db values
2018-08-10 21:39:56 -04:00
Michael Cook (mackal)
e3c01d4143 Add lua entity_list function GetShuffledClientList()
There is cases where we need to get a random client, but
GetRandomClient() is not sufficient enough due to complex predicates
required on what tells us is a valid client. This way we can just loop
over a shuffled list and verify a client is valid instead of multiple
GetRandomClient() calls.
2018-08-05 22:55:30 -04:00
Michael Cook (mackal)
93749bc509 Add actual support for multi-zone task activities 2018-08-01 13:50:09 -04:00
Uleat
8089d52df6 Fix for 'is_arrow' bool parameter 2018-07-25 16:22:22 -04:00
Trust
1bba629514 Prevent Low Level Charm testing without Aggro 2018-07-22 18:35:50 -04:00
Trust
6b02d50a8c Allow Separate GrayCon Flee rate.
Added following Rules:

Combat:FleeGray - If true FleeGrayHPRatio will be used.
Combat:FleeGrayHPRatio - HP % when a Gray NPC begins to flee.
2018-07-22 18:22:07 -04:00
Michael Cook (mackal)
483a34242b
Merge pull request #757 from fryguy503/purify-rez
Purfy Body Resurrection Effects fix
2018-07-22 16:53:43 -04:00
Trust
483b4724e5 [Exploit] Prevent low level mez testing without aggro.
Using low level mez to test if a mob is mezzable and NOT get aggro has been squashed. When you cast you will get 1 point of aggro on a Cannot mez with this spell.
2018-07-22 16:38:45 -04:00
Trust
d4558b4664 Forgot to have the comparison flag 2018-07-22 16:32:53 -04:00
Trust
d707fb13b8 Changed RezEffect check to dispell_flag 2018-07-22 16:31:24 -04:00
Trust
79c7d9d8f2 SeeInvis % - Random
Added Function for GetSeeInvisible to pull the % chance from the database to spawn the npc as a SI mob.

If see_invis = 0/1 it will still function as normal, but if it is over 1, it will act as a % chance for the mob to SI.
2018-07-22 15:02:18 -04:00
Trust
c2c8de01b8 Purfy Body Resurrection Effects fix
Purify Body was removing Resurrection Effects and it should not.
Added a !IsResurrectionEffects check to the logic to make sure Purify Body does not remove Resurrection Effects.
2018-07-22 14:41:35 -04:00
Trust
f8f1061ced [Queryserv] Dropped Item Logging 2018-07-22 12:39:34 -04:00
regneq
f9ea18b642 Quest NPCs will no longer turn and face their target if they are sneaking, sitting, or laying/playdead. 2018-07-22 09:31:58 -07:00
Michael Cook (mackal)
87ea81cc36
Merge pull request #754 from fryguy503/disarm-implement
Disarm Support
2018-07-21 23:43:25 -04:00
Trust
2fe923457b Fixed more Message_StringID 2018-07-21 23:22:14 -04:00
Michael Cook (mackal)
7d0b281b7f
Merge pull request #753 from fryguy503/graveyard-placement
Added random graveyard corpse placement within +/- 20 units on X/Y ax…
2018-07-21 23:04:02 -04:00
Trust
7a44521b03 rand is bad random.Real is good! 2018-07-21 23:02:07 -04:00
Trust
9fa377303e Corrected Disarm StringID's 2018-07-21 22:20:53 -04:00
Trust
9251e6efd2 Disarm Support 2018-07-21 19:16:19 -04:00
Michael Cook (mackal)
983b8f7237
Merge pull request #740 from noudess/master
Fix HT and LOH to retry after failure to cast
2018-07-21 17:19:57 -04:00
Michael Cook (mackal)
ede21d9b10
Merge pull request #752 from fryguy503/grammar-split
Fixed Game breaking grammar issue with /split
2018-07-21 17:06:40 -04:00
Michael Cook (mackal)
02a3f971dd
Merge pull request #751 from fryguy503/horse-feign-fix
[Exploit] Prevent players from summoning horses while feigned.
2018-07-21 17:06:29 -04:00
Trust
508a731181 Added random graveyard corpse placement within +/- 20 units on X/Y axis to help spread corpses out. 2018-07-21 16:30:55 -04:00
Trust
b5b266d265 Fixed Game breaking grammar issue with /split 2018-07-21 16:24:14 -04:00
Trust
c375716c22 [Exploit] Prevent players from summoning horses while feigned. 2018-07-21 16:17:42 -04:00
Trust
2f40e5da98 Fixing incorrect operator so Appveyor will pass. 2018-07-21 16:10:55 -04:00
Michael Cook (mackal)
96d146f73c
Merge pull request #746 from fryguy503/mount-dismount-water
Rule: DismountWater - Causes mounts to dismount when entering liquid …
2018-07-21 13:26:11 -04:00
Michael Cook (mackal)
e06c128ced
Merge pull request #749 from fryguy503/aa-lowlevel-exploit
[Exploit Fix] AA Below Level Fix - When you are below level 52 with A…
2018-07-21 13:25:52 -04:00
Trust
f51396aa70 [Exploit Fix] AA Below Level Fix - When you are below level 52 with AA set above 0% it will revert the aa % to 0% 2018-07-21 00:01:36 -04:00
Trust
f776b1c73b Rule: DismountWater - Causes mounts to dismount when entering liquid per era. 2018-07-20 23:22:18 -04:00
Michael Cook (mackal)
dfa7e2bffb Add completion emote for tasks 2018-07-20 14:06:07 -04:00
Uleat
e12e1c0d9b Fix (temp) for bot-related appearance packets with id '0' 2018-07-16 02:46:00 -04:00
Uleat
59ad6012b1 Fix for trading with bots using trade window 2018-07-15 18:22:25 -04:00
Michael Cook (mackal)
71e309022a Fun fact, seconds are not milliseconds! 2018-07-15 00:34:44 -04:00
Michael Cook (mackal)
6aba38f664 Bug fix with rest timer changes 2018-07-15 00:27:51 -04:00