Merge branch 'master' of https://github.com/rathena/rathena
This commit is contained in:
commit
5d204e55d3
@ -5605,6 +5605,8 @@ everything not equippable by the new job class anyway.
|
|||||||
These commands will make a character sit or stand.
|
These commands will make a character sit or stand.
|
||||||
If no character is specified, the command will run for the invoking character.
|
If no character is specified, the command will run for the invoking character.
|
||||||
|
|
||||||
|
Additionnally Sitting constant is true when the character is sitting, false otherwise.
|
||||||
|
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
|
||||||
*disguise <Monster ID>{,<char_id>};
|
*disguise <Monster ID>{,<char_id>};
|
||||||
|
@ -1166,6 +1166,7 @@ OnMyMobDead:
|
|||||||
if ('Sara_Mobs < 1) {
|
if ('Sara_Mobs < 1) {
|
||||||
set 'Sara_Mobs,0;
|
set 'Sara_Mobs,0;
|
||||||
mapannounce instance_mapname("1@sara"), "Sara ran away again! You think she went in the 2 O'clock direction!",bc_map,"0xffff00";
|
mapannounce instance_mapname("1@sara"), "Sara ran away again! You think she went in the 2 O'clock direction!",bc_map,"0xffff00";
|
||||||
|
if (playerattached() > 0)
|
||||||
viewpoint 1,208,250,1,0x00FF00;
|
viewpoint 1,208,250,1,0x00FF00;
|
||||||
donpcevent instance_npcname("#sara_warp02", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("#sara_warp02", instance_id())+"::OnEnable";
|
||||||
donpcevent instance_npcname("#MobsSara02", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("#MobsSara02", instance_id())+"::OnEnable";
|
||||||
@ -1211,6 +1212,7 @@ OnMyMobDead:
|
|||||||
if ('Sara_Mobs < 1) {
|
if ('Sara_Mobs < 1) {
|
||||||
set 'Sara_Mobs,0;
|
set 'Sara_Mobs,0;
|
||||||
mapannounce instance_mapname("1@sara"), "Sara ran away yet again! You think she went in the 5 O'clock direction!",bc_map,"0xffff00";
|
mapannounce instance_mapname("1@sara"), "Sara ran away yet again! You think she went in the 5 O'clock direction!",bc_map,"0xffff00";
|
||||||
|
if (playerattached() > 0)
|
||||||
viewpoint 1,226,190,1,0x00FF00;
|
viewpoint 1,226,190,1,0x00FF00;
|
||||||
donpcevent instance_npcname("#sara_warp03", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("#sara_warp03", instance_id())+"::OnEnable";
|
||||||
donpcevent instance_npcname("#MobsSara03", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("#MobsSara03", instance_id())+"::OnEnable";
|
||||||
@ -1288,6 +1290,7 @@ OnMyMobDead:
|
|||||||
if ('Sara_Mobs < 1) {
|
if ('Sara_Mobs < 1) {
|
||||||
set 'Sara_Mobs,0;
|
set 'Sara_Mobs,0;
|
||||||
mapannounce instance_mapname("1@sara"), "Sara ran away yet again! *sigh* You think she went in the 12 O'clock direction!",bc_map,"0xffff00";
|
mapannounce instance_mapname("1@sara"), "Sara ran away yet again! *sigh* You think she went in the 12 O'clock direction!",bc_map,"0xffff00";
|
||||||
|
if (playerattached() > 0)
|
||||||
viewpoint 1,166,67,1,0x00FF00;
|
viewpoint 1,166,67,1,0x00FF00;
|
||||||
donpcevent instance_npcname("#sara_warp04", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("#sara_warp04", instance_id())+"::OnEnable";
|
||||||
donpcevent instance_npcname("#MobsSara04", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("#MobsSara04", instance_id())+"::OnEnable";
|
||||||
@ -1364,6 +1367,7 @@ OnMyMobDead:
|
|||||||
if ('Sara_Mobs < 1) {
|
if ('Sara_Mobs < 1) {
|
||||||
set 'Sara_Mobs,0;
|
set 'Sara_Mobs,0;
|
||||||
mapannounce instance_mapname("1@sara"), "Sara continues to run away! You think she went in the 12 O'clock direction!",bc_map,"0xffff00";
|
mapannounce instance_mapname("1@sara"), "Sara continues to run away! You think she went in the 12 O'clock direction!",bc_map,"0xffff00";
|
||||||
|
if (playerattached() > 0)
|
||||||
viewpoint 1,155,180,1,0x00FF00;
|
viewpoint 1,155,180,1,0x00FF00;
|
||||||
donpcevent instance_npcname("#sara_warp05", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("#sara_warp05", instance_id())+"::OnEnable";
|
||||||
donpcevent instance_npcname("Sara Irene#02", instance_id())+"::OnEnable";
|
donpcevent instance_npcname("Sara Irene#02", instance_id())+"::OnEnable";
|
||||||
|
@ -2007,8 +2007,8 @@ static int battle_range_type(struct block_list *src, struct block_list *target,
|
|||||||
if( skill_get_inf2( skill_id ) & INF2_TRAP )
|
if( skill_get_inf2( skill_id ) & INF2_TRAP )
|
||||||
return BF_SHORT;
|
return BF_SHORT;
|
||||||
|
|
||||||
// When monsters use Arrow Shower, it is always short range
|
// When monsters use Arrow Shower or Bomb, it is always short range
|
||||||
if (src->type == BL_MOB && skill_id == AC_SHOWER)
|
if (src->type == BL_MOB && (skill_id == AC_SHOWER || skill_id == AM_DEMONSTRATION))
|
||||||
return BF_SHORT;
|
return BF_SHORT;
|
||||||
|
|
||||||
//Skill Range Criteria
|
//Skill Range Criteria
|
||||||
|
Loading…
x
Reference in New Issue
Block a user