Commit Graph

141 Commits

Author SHA1 Message Date
Axel Cocat
d533224895 add RunCommand() 2021-06-21 15:59:44 +02:00
Axel Cocat
a7213d39a8 add SendUpdateWorldState 2021-06-11 13:35:28 +02:00
Rochet2
286119950f Merge pull request #365 from tikki100/SetReactState
[Feature] Exposed SetReactState
2021-06-05 14:01:58 +03:00
Axel Cocat
b87a76bf55 add SetInCombatWith 2021-06-01 00:12:27 +02:00
Tikki
2fde577aaf fix(LuaFunctions.cpp): Added Trinity/Azerothcore guards to SetReactState()
Signed-off-by: Tikki <oliver.m.m@hotmail.com>
2021-05-28 15:23:23 +02:00
Tikki
68b5ffcf4b feat(CreatureMethods.h): Added SetReactState(x)
Signed-off-by: Tikki <oliver.m.m@hotmail.com>
2021-05-28 14:46:53 +02:00
xIvan0ff
c2bbe07163 SetRegenerateHealth only for AC/TC 2021-05-23 14:56:39 +03:00
xIvan0ff
fa6fc881e6 Getter added & Extra Code Cleanup 2021-05-23 00:17:50 +03:00
xIvan0ff
74afaebb49 Implement: Creature:SetRegeneratingHealth 2021-05-19 00:51:50 +03:00
Rochet2
ca5f1bb59d Merge pull request #354 from BuildingOutLoud/Add-Creature-GetExtraFlags
Add Creature GetExtraFlags()
2021-04-16 23:37:52 +03:00
BuildingOutLoud
995ad6acd9 oops 2021-04-16 13:45:34 -06:00
BuildingOutLoud
9bad880f12 copy/paste mistake 2021-04-16 13:26:57 -06:00
BuildingOutLoud
dd0217f5c9 Fix LuaFunctions.cpp
Co-authored-by: Rochet2 <rochet2@post.com>
2021-04-16 12:57:55 -06:00
BuildingOutLoud
df3c7b4be6 Add GetExtraFlags 2021-04-16 12:52:08 -06:00
BuildingOutLoud
687c9585e3 Add IsDungeonBoss 2021-04-13 09:28:42 -06:00
Rochet2
5f28a2fc82 Fix most CI problems (#328)
Thanks to H0zen at 23daeb6a0d for helping comments.
2020-09-15 21:38:35 +03:00
Foereaper
126976b647 Merge branch 'master' of https://github.com/ElunaLuaEngine/Eluna 2020-09-12 18:05:14 +02:00
Foereaper
9c821527eb Add GetRealmID 2020-09-12 18:05:11 +02:00
Foereaper
dad6dba284 Merge pull request #324 from iThorgrim-Hub/master
Add SetAchievement to Eluna
2020-09-12 18:02:58 +02:00
Foereaper
b6a450569e Required changes for latest TC 2020-09-12 15:44:02 +02:00
iThorgrim
3dba4036d0 Add SetAchievement to Eluna 2020-08-24 11:42:23 +02:00
Rochet2
34151cc744 Remove CreateCorpse, Improve Ban() 2019-07-06 23:25:47 +03:00
Rochet2
eafc146405 Fix TC build 2018-09-08 21:24:46 +03:00
Grymskvll
3db9e63bd9 Fixed player:HasTalent, changed unit:GetCreatureType description, added creature:GetCreatureFamily 2018-06-09 16:56:07 +02:00
ayase
9b5499db9c AZEROTHCORE compatibility (#271)
* Done Compatible AZEROTHCORE.

* Fix TC build

* Try fix whitespace (trailing and tabs2spaces)

* Remove undefs and TC_LOG defines

* Revert indentation change

* Indentation and style change

* Add more possible SQL types to query

* change bg hooks OnBGEnd parameter type.
2018-06-06 18:42:46 +03:00
antz
c2f2dd566c Add Mangos Four support 2018-03-28 19:36:45 +01:00
Rochet2
5b9743025b Fix TC build, remove GetCombatTime 2018-01-06 00:28:30 +02:00
Foereaper
d644b3a7f0 Added game event related methods 2017-11-12 12:37:27 +01:00
Rochet2
fad53ae637 Add world object methods 2017-09-28 23:45:41 +03:00
Rochet2
b1e31a6886 Add function to check if player is immune to everything (divine shield) 2017-09-16 02:56:43 +03:00
Rochet2
de4f4276ac Remove CanRegenerateHealth method 2017-08-27 14:58:19 +03:00
Rochet2
093b5d82fa Implement get class mask and get race mask 2017-07-26 23:17:49 +03:00
Rochet2
0cba9fc4c3 Change SetPower arguments
Add modify power
https://github.com/ElunaLuaEngine/Eluna/issues/189
2017-07-19 19:53:18 +03:00
Rochet2
963352e4f5 Move GetPlayers from global method to map method.
For backwards compatibility for GetPlayersInMap(mapid, instid) use GetMapById(mapid, instid):GetPlayers()
2017-07-19 19:41:49 +03:00
Rochet2
48313dd0db Remove guild bank methods 2017-07-19 18:12:31 +03:00
Rochet2
00eef91aa2 Fix clang warnings about variable usage 2017-04-13 00:51:17 +03:00
Rochet2
4cc5e42562 fix clang warnings Wundefined-var-template 2017-04-12 23:20:27 +03:00
Rochet2
b7c379a42c Change Eluna to a global variable
Remove Eluna* from being passed. You can now get it through Eluna::GetEluna(L)
Change function call cleanup to lua_settop instead of manual loop
Explicitly delete the copy constructor and copy assignment operators
2017-03-19 15:48:48 +02:00
Rochet2
d39e49b4b0 Fix copy paste error 2016-08-10 19:56:50 +03:00
Rochet2
17d2d299c6 Add setphasemask for gameobjects and other worldobjects 2016-08-10 19:22:36 +03:00
Rochet2
33e3bf9de2 Fix some mangos compatibility 2016-01-24 19:29:42 +02:00
Rochet2
2fce645b7e new year 2016-01-05 20:19:47 +02:00
Rochet2
969c0bbbfa Fix documentation indentation and implement emote state method. Closes https://github.com/ElunaLuaEngine/Eluna/issues/181 2016-01-05 16:58:09 +02:00
Rochet2
086ad796fc Add new methods. Closes https://github.com/ElunaLuaEngine/Eluna/pull/176 and https://github.com/ElunaLuaEngine/Eluna/issues/171 2016-01-05 16:42:29 +02:00
Rochet2
c94ef51cbe Remove DeleteBonesFromWorld method from corpse and fix build for TC 2015-11-09 17:56:17 +02:00
Rochet2
28161fa2fc Remove corpse methods (report if needing them) and made changes to objectaccessor required by TC
See 402a3c45ff for more
2015-09-30 22:01:36 +03:00
Tommy
9d9e72e598 Updated method documentation and cleaned up
Method documentation should be completed. Only thing left now is polishing up (fixing typos, update wording, add enumerator data to method documentation that doesn't have it, etc)..

Cleaned whitespaces

Corrected/Fixed up some comments

Removed all known documented method comments in LuaFunctions.cpp. Commented out methods are now marked as undocumented until they are uncommented & documented in their respective header files.

Removed 'Getter, Setter, Boolean, Other' comments in method files

Documented VehicleMethods, the rest of PlayerMethods, UnitMethods, CreatureMethods and GuildMethods.

Refer to #101 for more information
2015-09-16 04:14:32 -04:00
Rochet2
83e001b2ac Remove functions not to be used or cant be used and fix TC build 2015-08-26 17:05:34 +03:00
Rochet2
b9bc5343b4 Enable null as CastSpell target and Add IsCasting
Closes https://github.com/ElunaLuaEngine/Eluna/issues/160
2015-08-10 01:11:01 +03:00
Rochet2
1bc22faa7f Add some bug and warning fixes as well as some enchantment from mthread branch 2015-08-08 15:37:22 +03:00