…ustom initial items with >1 amount instead equip single and ignore other. Also corrently report error at buy to equip slot not single item (impossible using normal client way) instead silencely ingnore amount and equip single by stack price.
Signed-off-by: VladimirMangos <firstname.lastname@example.org>
…alues by defines. (cherry picked from commit 389a178) Conflicts: src/game/Player.cpp src/game/World.cpp src/shared/Database/DBCStructure.h
…t MAX_RACES to max_player_race+1). Note: MAX_* moved out of enum. This is not nice include value _not_ belong to enum values into enum. Maybe in C this not make sense (enum range = int anyway) but in C++ enum values checked at assigning/etc. (cherry picked from commit f157c4e)
…ce)." This reverts a part of commit eb60f74 that caused some performance issues.
Store fall information also at MSG_MOVE_FALL_LAND
… functions. Signed-off-by: hunuza <email@example.com>
…h recent changes.
…ch that fix also possible memory corruption.
Signed-off-by: hunuza <firstname.lastname@example.org>
…ng fall distance and not fall time. Thanks to DasMy for finding an appropriate formula
…om 303 branch.
…acter_character_aura.sql Signed-off-by: VladimirMangos <email@example.com>
Signed-off-by: Neo2003 <firstname.lastname@example.org>
… players in combat. 3rd party scripting libraries might have to be updated
i used this script for i in ls *.[ch]*; do cat $i | sed -r 's/(.*for.*iterator.*;\ *)([a-z0-9\_\*]+)\ *\+\+(.*)/\1++\2\3/' > /tmp/mangos/$i; done for i in ls *.[ch]*; do cp /tmp/mangos/$i $i; done and rechecked it with my eyes, if everything is right i took only for-loops cause they can be gathered easier with a script Signed-off-by: hunuza <email@example.com>
…s) casted spells with 0 cast time.