Bug Fixes

* Switching arrows no longer stops attacks. (bugreport:9270)
* Looter monsters will now randomly pick items rather than going for the closest one. (bugreport:9268)
* Follow up to 0fed97c. Moved pc_setsit before skill_sit to not break skills that count players who are sitting. (bugreport:8966)
* Follow up to 2d2991a. Cleaned up some compile warnings.
* Updated the inf3 descriptions in the skill_db.
This commit is contained in:
aleos89
2014-09-20 11:44:44 -04:00
parent 4f6448b23f
commit a080117a74
13 changed files with 121 additions and 126 deletions

View File

@@ -3100,7 +3100,7 @@ struct script_data* push_copy(struct script_stack* stack, int pos)
}
}
/// Removes the values in indexes [start,end[ from the stack.
/// Removes the values in indexes [start,end] from the stack.
/// Adjusts all stack pointers.
void pop_stack(struct script_state* st, int start, int end)
{
@@ -18346,8 +18346,8 @@ BUILDIN_FUNC(sit)
return SCRIPT_CMD_FAILURE;
if( !pc_issit(sd) ) {
skill_sit(sd, 1);
pc_setsit(sd);
skill_sit(sd, 1);
clif_sitting(&sd->bl);
}
return SCRIPT_CMD_SUCCESS;