Skip to content
This repository was archived by the owner on Dec 4, 2020. It is now read-only.

Commit 0d6b74d

Browse files
committed
Merge branch 'release' into feature/gardening
# Conflicts: # conf/default/map.conf # src/map/map.cpp # src/map/map.h # src/map/modifier.h
2 parents f7e347f + 7adb2f5 commit 0d6b74d

File tree

187 files changed

+8137
-5874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+8137
-5874
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v1
2020
with:
21-
fetch-depth: 1
21+
fetch-depth: 0
2222
- name: Install Dependencies
2323
run: |
2424
sudo apt-get update
@@ -35,7 +35,7 @@ jobs:
3535
steps:
3636
- uses: actions/checkout@v1
3737
with:
38-
fetch-depth: 1
38+
fetch-depth: 0
3939
- name: Install Dependencies
4040
run: |
4141
sudo apt-get update
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- uses: actions/checkout@v1
5353
with:
54-
fetch-depth: 1
54+
fetch-depth: 0
5555
- name: Install Dependencies
5656
run: |
5757
sudo apt-get update
@@ -70,7 +70,7 @@ jobs:
7070
steps:
7171
- uses: actions/checkout@v1
7272
with:
73-
fetch-depth: 1
73+
fetch-depth: 0
7474
- name: Build Solution
7575
shell: cmd
7676
run: |
@@ -83,7 +83,7 @@ jobs:
8383
steps:
8484
- uses: actions/checkout@v1
8585
with:
86-
fetch-depth: 1
86+
fetch-depth: 0
8787
- name: Build Solution
8888
shell: cmd
8989
run: |
@@ -97,7 +97,7 @@ jobs:
9797
steps:
9898
- uses: actions/checkout@v1
9999
with:
100-
fetch-depth: 1
100+
fetch-depth: 0
101101
- name: Build Solution
102102
shell: cmd
103103
run: |
@@ -118,6 +118,7 @@ jobs:
118118
run: |
119119
sh travis_lua.sh
120120
- name: Clang Format (C++ files)
121+
if: 'false' # Don't run until fixed
121122
run: |
122123
clang-format --version
123124
echo "Base Ref: ${{ github.event.pull_request.base.ref }}"
@@ -144,7 +145,7 @@ jobs:
144145
runs-on: ubuntu-18.04
145146
services:
146147
mysql:
147-
image: mysql:5.6
148+
image: mariadb:10.1
148149
env:
149150
MYSQL_DATABASE: tpzdb
150151
MYSQL_ROOT_PASSWORD: root
@@ -154,7 +155,7 @@ jobs:
154155
steps:
155156
- uses: actions/checkout@v1
156157
with:
157-
fetch-depth: 1
158+
fetch-depth: 0
158159
- name: Install Dependencies
159160
run: |
160161
sudo apt-get update

conf/default/login.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ stdout_with_ansisequence: no
2929
#Lua = 512
3030
#Navmesh = 1024
3131
#Action = 2048
32+
#Exploit = 4096
3233
#Example: "console_silent: 7" Hides standard, status and information messages (1+2+4)
3334
console_silent: 0
3435

conf/default/map.conf

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ stdout_with_ansisequence: no
3232
#Lua = 512
3333
#Navmesh = 1024
3434
#Action = 2048
35+
#Exploit = 4096
3536
#Example: "console_silent: 7" Hides standard, status and information messages (1+2+4)
3637
console_silent: 0
3738

@@ -122,14 +123,15 @@ garden_moonphase_matters: 0
122123
garden_pot_matters: 0
123124
garden_mh_aura_matters: 0
124125

126+
#Craft level limit from witch specialization points beging to count. (Retail: 700; Level 75 era:600)
127+
craft_common_cap: 700
128+
129+
#Amount of points allowed in crafts over the level defined above. Points are shared across all crafting skills. (Retail: 400; All skills can go to max: 3200)
130+
craft_specialization_points: 400
131+
125132
#Enable/disable skill-ups from bloodpacts
126133
skillup_bloodpact: 1
127134

128-
#Crafting Factors. DO NOT change defaults without verifiable proof that your change IS how retail does it. Myths need to be optional.
129-
craft_day_matters: 0
130-
craft_moonphase_matters: 0
131-
craft_direction_matters: 0
132-
133135
#Adjust rate of TP gain for mobs and players. Acts as a multiplier, so default is 1.
134136
mob_tp_multiplier: 1.0
135137
player_tp_multiplier: 1.0

scripts/globals/abilities/double-up.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ function onUseAbility(caster, target, ability, action)
4646
caster:resetRecast(tpz.recast.ABILITY, 193)
4747
end
4848
caster:setLocalVar("corsairRollTotal", roll)
49-
action:speceffect(caster:getID(), roll-prev_roll:getSubPower())
49+
action:speceffect(caster:getID(), roll - prev_roll:getSubPower())
5050
checkForJobBonus(caster, job)
5151
end
5252
local total = caster:getLocalVar("corsairRollTotal")
5353
local prev_ability = getAbility(caster:getLocalVar("corsairActiveRoll"))
5454
if (prev_ability) then
5555
action:animation(target:getID(), prev_ability:getAnimation())
56-
action:actionID(prev_ability:getID()+16)
57-
dofile("scripts/globals/abilities/"..prev_ability:getName()..".lua")
56+
action:actionID(prev_ability:getID())
57+
dofile("scripts/globals/abilities/" .. prev_ability:getName() .. ".lua")
5858
local total = applyRoll(caster, target, ability, action, total)
5959
local msg = ability:getMsg()
6060
if msg == 420 then

scripts/globals/abilities/familiar.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ function onAbilityCheck(player, target, ability)
1616
return tpz.msg.basic.REQUIRES_A_PET, 0
1717
elseif not player:isJugPet() and pet:getObjType() ~= tpz.objType.MOB then
1818
return tpz.msg.basic.NO_EFFECT_ON_PET, 0
19+
elseif pet:getLocalVar("ReceivedFamiliar") == 1 then
20+
return tpz.msg.basic.NO_EFFECT_ON_PET, 0
1921
else
22+
pet:setLocalVar("ReceivedFamiliar", 1)
2023
return 0, 0
2124
end
2225
end

0 commit comments

Comments
 (0)