* Fixed two-hand weapons not getting recognized as such upon equipping, causing respective one-hand weapon's base ASPD values being used instead (bugreport:4659, related r12599).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14624 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
e07b6c4caa
commit
cce4c55f47
@ -1,6 +1,7 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
2010/12/25
|
2010/12/25
|
||||||
|
* Fixed two-hand weapons not getting recognized as such upon equipping, causing respective one-hand weapon's base ASPD values being used instead (bugreport:4659, related r12599). [Ai4rei]
|
||||||
* Updated script commands delitem and delitem2. [Ai4rei]
|
* Updated script commands delitem and delitem2. [Ai4rei]
|
||||||
- Items are now deleted only if there is enough of them (as per r14395, related r13368).
|
- Items are now deleted only if there is enough of them (as per r14395, related r13368).
|
||||||
- Not equipped items are now actually prioritized over equipped ones (related r200).
|
- Not equipped items are now actually prioritized over equipped ones (related r200).
|
||||||
|
@ -7125,10 +7125,7 @@ int pc_equipitem(struct map_session_data *sd,int n,int req_pos)
|
|||||||
if(id) {
|
if(id) {
|
||||||
if(id->type == IT_WEAPON) {
|
if(id->type == IT_WEAPON) {
|
||||||
sd->status.shield = 0;
|
sd->status.shield = 0;
|
||||||
if(sd->status.inventory[n].equip == EQP_HAND_L)
|
|
||||||
sd->weapontype2 = id->look;
|
sd->weapontype2 = id->look;
|
||||||
else
|
|
||||||
sd->weapontype2 = 0;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if(id->type == IT_ARMOR) {
|
if(id->type == IT_ARMOR) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user