Skip to content

Commit 67469c6

Browse files
committed
Fixed issue where SC_LEXAETERNA doesn't damage boost SC_SPELLFIST.
Signed-off-by: Lorenzo Buitizon <the.keikun@gmail.com>
1 parent c1fa550 commit 67469c6

4 files changed

Lines changed: 14 additions & 13 deletions

File tree

conf/api/api-server.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@ api_configuration: {
4040
// Information related to inter-server behavior
4141
inter: {
4242
// Interserver communication passwords, set in the login server database
43-
userid: "s1"
44-
passwd: "p1"
43+
userid: "ragnarok"
44+
passwd: "ragnarok"
4545

4646
// Login Server IP
4747
// The api server connects to the login server using this IP address.
4848
// NOTE: This is useful when you are running behind a firewall or are on
4949
// a machine with multiple interfaces.
50-
//login_ip: "127.0.0.1"
50+
login_ip: "127.0.0.1"
5151

5252
// Character Server IP
5353
// The api server connects to the character server using this IP address.
5454
// NOTE: This is useful when you are running behind a firewall or are on
5555
// a machine with multiple interfaces.
56-
//char_ip: "127.0.0.1"
56+
char_ip: "127.0.0.1"
5757

5858
// The api server listens on the interface with this IP address.
5959
// NOTE: This allows you to run multiple servers on multiple interfaces
@@ -69,7 +69,7 @@ api_configuration: {
6969
// Api Server IP
7070
// The IP address which clients will use to connect.
7171
// Set this to what your server's public IP address is.
72-
//api_ip: "127.0.0.1"
72+
api_ip: "127.0.0.1"
7373

7474
// Api Server Port
7575
api_port: 7121

conf/char/char-server.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ char_configuration: {
4949
// Information related to inter-server behavior
5050
inter: {
5151
// Server Communication username and password.
52-
userid: "s1"
53-
passwd: "p1"
52+
userid: "ragnarok"
53+
passwd: "ragnarok"
5454

5555
// Login Server IP
5656
// The character server connects to the login server using this IP address.
5757
// NOTE: This is useful when you are running behind a firewall or are on
5858
// a machine with multiple interfaces.
59-
//login_ip: "127.0.0.1"
59+
login_ip: "127.0.0.1"
6060

6161
// The character server listens on the interface with this IP address.
6262
// NOTE: This allows you to run multiple servers on multiple interfaces
@@ -69,7 +69,7 @@ char_configuration: {
6969
// Character Server IP
7070
// The IP address which clients will use to connect.
7171
// Set this to what your server's public IP address is.
72-
//char_ip: "127.0.0.1"
72+
char_ip: "127.0.0.1"
7373

7474
// Character Server Port
7575
char_port: 6121

conf/map/map-server.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ map_configuration: {
5353
// Information related to inter-server behavior
5454
inter: {
5555
// Interserver communication passwords, set in the login server database
56-
userid: "s1"
57-
passwd: "p1"
56+
userid: "ragnarok"
57+
passwd: "ragnarok"
5858

5959
// Character Server IP
6060
// The map server connects to the character server using this IP address.
6161
// NOTE: This is useful when you are running behind a firewall or are on
6262
// a machine with multiple interfaces.
63-
//char_ip: "127.0.0.1"
63+
char_ip: "127.0.0.1"
6464

6565
// The map server listens on the interface with this IP address.
6666
// NOTE: This allows you to run multiple servers on multiple interfaces
@@ -73,7 +73,7 @@ map_configuration: {
7373
// Map Server IP
7474
// The IP address which clients will use to connect.
7575
// Set this to what your server's public IP address is.
76-
//map_ip: "127.0.0.1"
76+
map_ip: "127.0.0.1"
7777

7878
// Map Server Port
7979
map_port: 5121

src/map/battle.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6683,6 +6683,7 @@ static enum damage_lv battle_weapon_attack(struct block_list *src, struct block_
66836683
if( --(sc->data[SC_SPELLFIST]->val1) >= 0 ){
66846684
struct Damage ad = battle->calc_attack(BF_MAGIC,src,target,sc->data[SC_SPELLFIST]->val3,sc->data[SC_SPELLFIST]->val4,flag|BF_SHORT);
66856685
wd.damage = ad.damage;
6686+
wd.div_ = ad.div_;
66866687
damage_div_fix(wd.damage, wd.div_);
66876688
}else
66886689
status_change_end(src,SC_SPELLFIST,INVALID_TIMER);

0 commit comments

Comments
 (0)