Skip to content

Commit 8eb7858

Browse files
author
ShelbyZ
committed
Merge master into msvc_warnings
2 parents 2eb3212 + 2996df0 commit 8eb7858

30 files changed

+284
-316
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*.cpp text eol=lf
1212
*.h text eol=lf
1313
*.sql text eol=lf
14+
*.sh text eol=lf
1415

1516
# Retaining CRLF line ends in the documentation dir (for now..)
1617
*.txt text eol=crlf

conf/login_darkstar.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ servername: DarkStar
6060

6161
#Central message server settings (ensure these are the same on both all map servers and the central (lobby) server
6262
msg_server_port: 54003
63-
msg_server_ip: 127.0.0.1
63+
msg_server_ip: 192.168.1.150
6464

6565
#Logging of user IP address to database (true/false)
6666
log_user_ip: false

conf/map_darkstar.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,4 @@ healing_tick_delay: 10
185185

186186
#Central message server settings (ensure these are the same on both all map servers and the central (lobby) server
187187
msg_server_port: 54003
188-
msg_server_ip: 127.0.0.1
188+
msg_server_ip: 192.168.1.150

scripts/globals/effects/doom.lua

+5-10
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,18 @@ end;
2020
-----------------------------------
2121

2222
function onEffectTick(target,effect)
23-
effect:setPower(effect:getPower()-1);
23+
local remainingTicks = 1 + (effect:getTimeRemaining() / 1000) / 3
2424

25-
if (effect:getPower() == 0) then
26-
-- sorry, you are the weakest link
27-
target:setHP(0);
28-
else
29-
-- doom counter
30-
target:messagePublic(112, target, effect:getPower(), effect:getPower());
31-
end
25+
-- doom counter
26+
target:messagePublic(112, target, remainingTicks, remainingTicks);
3227
end;
3328

3429
-----------------------------------
3530
-- onEffectLose Action
3631
-----------------------------------
3732

3833
function onEffectLose(target,effect)
39-
if (effect:getPower() == 0) then
34+
if (effect:getTimeRemaining() == 0) then
4035
target:setHP(0);
4136
end
42-
end;
37+
end;

scripts/globals/mobskills/cyclonic_torrent.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
-- Range: 20' radial
88
-- Notes: Only used by Urd, Verthandi, and Carabosse.
99
---------------------------------------------
10+
require("scripts/globals/monstertpmoves");
1011
require("scripts/globals/settings");
1112
require("scripts/globals/status");
12-
require("scripts/globals/monstertpmoves");
13-
13+
require("scripts/globals/msg");
1414
---------------------------------------------
15+
1516
function onMobSkillCheck(target,mob,skill)
1617
return 0;
1718
end;
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
---------------------------------------------
22
-- Plenilune_Embrace
33
--
4-
--
54
---------------------------------------------
5+
require("scripts/globals/monstertpmoves");
6+
require("scripts/globals/status");
7+
require("scripts/globals/msg");
8+
---------------------------------------------
9+
10+
function onMobSkillCheck(target,mob,skill)
11+
return 1;
12+
end;
13+
14+
function onMobWeaponSkill(target, mob, skill)
15+
-- Saw no math at any online source describing mob version, only player version..
16+
-- Someone needs to go figure out what the retail math is.
17+
end;

scripts/globals/spells/cursna.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function onSpellCast(caster,target,spell)
2222
local curse2 = target:getStatusEffect(EFFECT_CURSE_II);
2323
local bane = target:getStatusEffect(EFFECT_BANE);
2424
local bonus = caster:getMod(MOD_ENHANCES_CURSNA) + target:getMod(MOD_ENHANCES_CURSNA_RCVD);
25-
local power = 25*(bonus/100); -- This 25 is temp until the skill calculation is in.
25+
local power = 25*((100+bonus)/100); -- This 25 is temp until the skill calculation is in.
2626

2727
spell:setMsg(75);
2828
if (target:hasStatusEffect(EFFECT_DOOM) and power > math.random(1, 100)) then

sql/item_mods.sql

+4-4
Original file line numberDiff line numberDiff line change
@@ -37675,7 +37675,7 @@ INSERT INTO `item_mods` VALUES (27340,27,5);
3767537675
INSERT INTO `item_mods` VALUES (27340,29,1);
3767637676
INSERT INTO `item_mods` VALUES (27340,31,43);
3767737677
INSERT INTO `item_mods` VALUES (27340,68,23);
37678-
INSERT INTO `item_mods` VALUES (27340,162,-4);
37678+
INSERT INTO `item_mods` VALUES (27340,163,-4); -- Magic Damage Taken -4%
3767937679
INSERT INTO `item_mods` VALUES (27340,384,30);
3768037680
INSERT INTO `item_mods` VALUES (27340,837,10);
3768137681
INSERT INTO `item_mods` VALUES (27341,1,89);
@@ -37690,7 +37690,7 @@ INSERT INTO `item_mods` VALUES (27341,27,6);
3769037690
INSERT INTO `item_mods` VALUES (27341,29,2);
3769137691
INSERT INTO `item_mods` VALUES (27341,31,64);
3769237692
INSERT INTO `item_mods` VALUES (27341,68,49);
37693-
INSERT INTO `item_mods` VALUES (27341,162,-5);
37693+
INSERT INTO `item_mods` VALUES (27341,163,-5); -- Magic Damage Taken -5%
3769437694
INSERT INTO `item_mods` VALUES (27341,384,30);
3769537695
INSERT INTO `item_mods` VALUES (27341,837,15);
3769637696
INSERT INTO `item_mods` VALUES (27342,1,64);
@@ -42398,7 +42398,7 @@ INSERT INTO `item_mods` VALUES (27949,14,12);
4239842398
INSERT INTO `item_mods` VALUES (27949,27,4);
4239942399
INSERT INTO `item_mods` VALUES (27949,31,18);
4240042400
INSERT INTO `item_mods` VALUES (27949,68,10);
42401-
INSERT INTO `item_mods` VALUES (27949,162,-5);
42401+
INSERT INTO `item_mods` VALUES (27949,163,-5); -- Magic Damage Taken -5%
4240242402
INSERT INTO `item_mods` VALUES (27949,384,30);
4240342403
INSERT INTO `item_mods` VALUES (27950,1,75);
4240442404
INSERT INTO `item_mods` VALUES (27950,2,29);
@@ -42722,7 +42722,7 @@ INSERT INTO `item_mods` VALUES (27970,14,19);
4272242722
INSERT INTO `item_mods` VALUES (27970,27,4);
4272342723
INSERT INTO `item_mods` VALUES (27970,31,26);
4272442724
INSERT INTO `item_mods` VALUES (27970,68,22);
42725-
INSERT INTO `item_mods` VALUES (27970,162,-5);
42725+
INSERT INTO `item_mods` VALUES (27970,163,-5);
4272642726
INSERT INTO `item_mods` VALUES (27970,384,40);
4272742727
INSERT INTO `item_mods` VALUES (27971,1,104);
4272842728
INSERT INTO `item_mods` VALUES (27971,2,44);

0 commit comments

Comments
 (0)