Commit graph

1298 commits

Author SHA1 Message Date
Schmoozerd
a27787851c [c12537] Update Authorship information
(based on commit [12388] - 037f217)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a [c12536] Happy New Year 2013
Update authorship information and prepare for easier ways next year

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
Schmoozerd
3ff9317e54 [c12533] Note ingame if gossip conditions are ignored because of GM mode
(based on commit [12386] - 5ece4bc)
2020-02-16 21:03:56 +00:00
Maxxie
faea73ac9b [c12530] Looks for passive auras that need to be recast. Like talent spell Feral Swiftness (id: 17002 and ranks), once you go inside a building and then outside again.
Contributor : Ebrithil

(based on commit [12383] - e9f2099)
2020-02-16 20:50:18 +00:00
Yaki Khadafi
ef0f63e05b [12216] Implement currency loot and update loot opcodes.
Now negative item value in loot tables represent currency id.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:34 +00:00
Schmoozerd
c1890ddb44 [12214] Fixup problems with recent teleportation changes 2020-02-16 20:42:31 +00:00
Yaki Khadafi
732ae88bed [12213] Fix crash at gm enter world
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:30 +00:00
Yaki Khadafi
257afbf540 [12211] Fix taxies
Original author: @Shauren

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:29 +00:00
Yaki Khadafi
832f9b1a46 [12209] Update mana regen to 4.x
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:27 +00:00
Schmoozerd
378aaa4daf [12208] Improve the RepopAtGraveyard handling of last commit. Thx to rsa for pointing 2020-02-16 20:42:25 +00:00
cyberium
f432438665 [12207] Rewrite Checks required when entering a map
Expected way from now on is:
- Test if a map can be entered with Player::GetAreaTriggerLockStatus
- IF this doesn't return AREA_LOCKSTATUS_OK, and if wanted,
  send the fail-message with Player::SendTransferAbortedByLockStatus function.

Please feedback any hidden problems!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:24 +00:00
Yaki Khadafi
f552049968 [12199] Fix health regeneration.
Author: @NorthStrider

Fix HP scaling from stamina. Author: @Subv
Fix HP regen bonus from items.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:17 +00:00
Yaki Khadafi
8e84b0ff71 [12198] - Remove weapon skillgains, defense skill, thanks @FailzorD for original patch.
- Update dodge, parry, block to cata.
- Some mastery fixes and stylefixes.
- Remove some no longer used functions.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:16 +00:00
cyberium
9022705faf [12195] Improve AreaTrigger teleport requirement checks
Implement AreaLockStatus concept by rsa

Also drop basicly unneeded `areatrigger_teleport`.required_failed_text field.
This concept is still in testing phase, please feedback results of some glitches that might exist!

TODO: Use Player::GetAreaLockStatus or GetAreaTriggerLockStatus for other "CanEnter" checks as well.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:13 +00:00
Yaki Khadafi
8726754f7a [12190] Remove no more existant lockpicking skill.
Implement archaeology lock

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:08 +00:00
Yaki Khadafi
4049442c80 [12187] Fix item random properties and suffixes
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:04 +00:00
Yaki Khadafi
b9772a9355 [12184] Implement mastery scaling
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:01 +00:00
Yaki Khadafi
092052608f [12180] Fix bugs related to talent trees.
Implement mastery spells learn

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:58 +00:00
Yaki Khadafi
119597fca8 [12178] Fix logic fail in IsNeedCastPassiveLikeSpellAtLearn
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:55 +00:00
Yaki Khadafi
c166741bad [12175] Fix trade.
TODO: operate with 64-bit money amount

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:53 +00:00
Yaki Khadafi
372e8e04bf [12173] Some battleground changes
- bg list works
- placeholders for pvp rewards and rated bg stats packets
- other bg opcode changes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:51 +00:00
Salja
dcc57439a7 [12172] Struc Update for SMSG_PLAY_SOUND and Update + Enable SMSG_UPDATE_WORLD_STATE. Thanks Zakamurite
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:49 +00:00
Yaki Khadafi
4dcb91df9f [12164] Fix inspect honor kill stats, arena stats.
Fix SMSG_NOTIFICATION structure
Move back Updatehonorfields, too fastly removed
Define some pvp opcodes

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:42 +00:00
Salja
2bb6130e42 [12162] totem items are no longer needed. Thanks Sovak
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:40 +00:00
Yaki Khadafi
55ebf1b64f [12161] Update talents:
Fix talent learn
Fix talent reset
Fix talent inspecting

original author: @Shauren

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:38 +00:00
stfx
328a349a23 [12157] Merge Player::CanUseOutdoorCapturePoint into Player::CanUseCapturePoint 2020-02-16 20:41:35 +00:00
stfx
97f6703301 [12156] Improve BG - Eye of the Storm
* Use generic capture point code
* Fix sending netherstorm flag carrier state
* Update score only on resource tick
* Fix world state dummies
* Rather big cleanup
2020-02-16 20:41:33 +00:00
Yaki Khadafi
f2cf0bcd19 [12151] Init currency week limits on new currency recieved
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:29 +00:00
Yaki Khadafi
8e5d609e1e [12150] Drop arena point distribution, implement currency week count reset.
- Fix missing currency load.
- Some cleanup.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:28 +00:00
Schmoozerd
d387c20dad [12144] Change behaviour of text selection for gossip menus
This way the behaviour will be well defined in case multiple conditions match.
Now the text with the highest condition-id will be taken.
2020-02-16 20:41:22 +00:00
Yaki Khadafi
796068fc13 [12143] Fix extendedCost
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:21 +00:00
Yaki Khadafi
b4d7780f46 [12140] Basic curency support. Based on @Supabad, @Shocker, @Shauren work.
TODO: reward/take currencies from quests, take currencies with extended cost, reset currencies week count.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:19 +00:00
Yaki Khadafi
fe066cf94a [12139] Fix char save
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:17 +00:00
Yaki Khadafi
d1afa9743e [12138] Remove unused currencytoken and keyring player slots, remove support for no longer existant player currency and honor fields
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:16 +00:00
Yaki Khadafi
faec714783 [12136] Fix typos
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:14 +00:00
Shyax
6e76dbae3f [12128] Fix more warnings - close #4
* Remove warning: enumeration value '<value>' not handled in switch
* Remove warning: enumeral and non-enumeral type in conditional expression
* Remove warning: too many arguments for format

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:05 +00:00
evil-at-wow
6fa6eb24a5 [12125] Fix some warnings
* Fix compiler warnings "warning: no newline at end of file" (Linux/GCC).
* Fix compiler warnings "warning: '<class>::<member>' will be initialized after <class>::<member>" (Linux/GCC).
* Fix compiler warnings "warning: unused parameter '<param>'" (Linux/GCC).
* Fix a signed/unsigned warning

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:02 +00:00
rsa
de95d1d480 [12123] Move BattleGround code to separate BattleGround directory. Also some corrects to unload BG's 2020-02-16 20:40:57 +00:00
Yaki Khadafi
8d93e79e29 [0179] Use aura holder plts in visible aura structures instead of uint32's.
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:34:09 +00:00
Salja
5bb39bc73a [0178] Dire Bear Form was removed in 4.0.1 Thanks Tuxity for pointing.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:34:07 +00:00
Yaki Khadafi
6dd0ba1d14 [0169] Implemented vendors selling currencies.
Also fix crash from recent master merge.

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:33:11 +00:00
Yaki Khadafi
3f0db2fbda [0161] Merge mangos changes. Author: @kid10
Fix some corresponding opcodes

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:26:20 +00:00
Yaki Khadafi
3ceed0edfb [0159] Update quest system.
TODO:
- implement currency requirements/rewards
- skill rewards
- skill learned requirements.
- not show quests with RewSkill to players which do not have that skill

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:16:01 +00:00
Salja
f6cc5b2c9d [0158] Fix Item Buy Count Thanks Fabi.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:14:21 +00:00
kid10
0c752dbdbd [12109] Add file to handle vehicle related opcodes
Also fixed a stupid typo from recent commit. Thx to dbauz for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:10:42 +00:00
kid10
56674de682 Unify changing movement style for Units 2020-02-16 20:06:46 +00:00
Yaki Khadafi
3153bd2129 [0146] Cleanup deprecated item mods and combat ratings
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 19:51:43 +00:00
Yaki Khadafi
1112b9f353 [0144] Enabled opcodes, most item-related. Enabled cooldown opcodes.
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 19:42:25 +00:00
stfx
2992c6e1f0 [12099] Implement sending initial world states from Outdoor PvP scripts
Also fix sending world state dummies in case Outdoor PvP is disabled
2020-02-16 19:05:43 +00:00
Xfurry
e955c3bc8f Add Outdoor PvP handlers to various files 2020-02-16 19:05:40 +00:00