summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-24 05:52:34 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-04-24 05:52:34 +0000
commit64e12393ea510041ac70428fe54674d0474d2932 (patch)
treeddc4d8a3a5b96bfdbe21f931823d35cc48180a24 /src
parent66565a4271e3904b5babacc1315d8eaf1ac5dffc (diff)
downloadhercules-64e12393ea510041ac70428fe54674d0474d2932.tar.gz
hercules-64e12393ea510041ac70428fe54674d0474d2932.tar.bz2
hercules-64e12393ea510041ac70428fe54674d0474d2932.tar.xz
hercules-64e12393ea510041ac70428fe54674d0474d2932.zip
Filled in missing OPT3 change for LK's Aura Blade.
Added comments for OPT3 values 0x100 and 0x20000, which are currently unused. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13693 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/status.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/map/status.c b/src/map/status.c
index d017fb67e..f7c10872d 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6131,12 +6131,18 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
sc->opt3 |= 0x20;
opt_flag = 0;
break;
- //0x40 missing?
+ case SC_AURABLADE:
+ sc->opt3 |= 0x40;
+ opt_flag = 0;
+ break;
case SC_BERSERK:
sc->opt3 |= 0x80;
opt_flag = 0;
break;
- //0x100 missing?
+// case ???: // OPT3_LIGHTBLADE, doesn't seem to do anything
+// sc->opt3 |= 0x100;
+// opt_flag = 0;
+// break;
case SC_DANCING:
if ((val1&0xFFFF) == CG_MOONLIT)
sc->opt3 |= 0x200;
@@ -6171,8 +6177,7 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
sc->opt3 |= 0x10000;
opt_flag = 0;
break;
-// TODO: unknown option (looks like the aura of biolab mobs)
-// case ???:
+// case ???: // OPT3_CONTRACT, from DA_CONTRACT (looks like biolab mobs aura)
// sc->opt3 |= 0x20000;
// opt_flag = 0;
// break;