summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-09 14:42:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-09 14:42:08 +0000
commite53a0dc7cb588a1e0ec85afb87c402e30dc3773b (patch)
tree301835b01ce8cba9c8b1d34e655a77b310c05f93 /src/map/battle.c
parent3f19df2cb549db3635e6638285b39d66f507616c (diff)
downloadhercules-e53a0dc7cb588a1e0ec85afb87c402e30dc3773b.tar.gz
hercules-e53a0dc7cb588a1e0ec85afb87c402e30dc3773b.tar.bz2
hercules-e53a0dc7cb588a1e0ec85afb87c402e30dc3773b.tar.xz
hercules-e53a0dc7cb588a1e0ec85afb87c402e30dc3773b.zip
- Trade requests will now fail when either character is unable to act (character in storage, vending, interacting with an npc, petrified, etc)
- Change the default of attack_attr_none to all classes except players. This means that pet/mobs/homun will always do normal attacks with no-element modifiers (but elemental reduction cards still apply) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8207 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index e7e7e9a48..5044543bf 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4029,7 +4029,7 @@ void battle_set_defaults() {
battle_config.party_share_type = 0;
battle_config.party_hp_mode = 0;
battle_config.party_show_share_picker = 0;
- battle_config.attack_attr_none = 0;
+ battle_config.attack_attr_none = ~BL_PC;
battle_config.mob_ghostring_fix = 1;
battle_config.gx_allhit = 1;
battle_config.gx_disptype = 1;