diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-24 04:06:49 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-03-24 04:06:49 +0000 |
commit | 8ecdaccdbc1761ea090192d4453433b9460d3e11 (patch) | |
tree | 794626b4877ff8e78f0c326023e9e9f56b7a154a | |
parent | 0d06b767e34eff1f6782aae8acb55b7040c9f5ce (diff) | |
download | hercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.tar.gz hercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.tar.bz2 hercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.tar.xz hercules-8ecdaccdbc1761ea090192d4453433b9460d3e11.zip |
- Restored Lord Of Death spawn that was accidentally removed in r15060. (bugreport:5323)
- Made players face in the same direction they were facing right before warping.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15787 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | npc/mobs/fields/niflheim.txt | 141 | ||||
-rw-r--r-- | src/map/clif.c | 7 |
2 files changed, 144 insertions, 4 deletions
diff --git a/npc/mobs/fields/niflheim.txt b/npc/mobs/fields/niflheim.txt index ecdbf7835..79b695071 100644 --- a/npc/mobs/fields/niflheim.txt +++ b/npc/mobs/fields/niflheim.txt @@ -43,3 +43,144 @@ nif_fild02,0,0,0,0 monster Bloody Murderer 1507,11,5000,0,0 nif_fild02,0,0,0,0 monster Dullahan 1504,10,5000,0,0 nif_fild02,0,0,0,0 monster Lude 1509,10,5000,0,0 nif_fild02,0,0,0,0 monster Heirozoist 1510,10,5000,0,0 + +niflheim,1,1,0 script NifInvasion -1,{ +OnInit: + + while(1) + { + initnpctimer; + end; + +OnTimer7980000: + stopnpctimer; + switch(rand(6)) + { + + case 0: + monster "niflheim",327,193,"Lord Of Death",1373,1,"NifInvasion::OnLoDDead"; + monster "niflheim",330,193,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",324,193,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",327,196,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",327,190,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",324,190,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",330,190,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",324,196,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",330,196,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + break; + + case 1: + monster "niflheim",337,252,"Lord Of Death",1373,1,"NifInvasion::OnLoDDead"; + monster "niflheim",337,255,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",337,249,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",334,252,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",340,252,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",334,249,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",340,255,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",340,249,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",334,255,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + break; + + case 2: + monster "niflheim",190,185,"Lord Of Death",1373,1,"NifInvasion::OnLoDDead"; + monster "niflheim",190,188,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",190,182,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",193,185,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",187,185,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",187,182,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",193,182,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",193,188,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",187,188,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + break; + + case 3: + monster "niflheim",131,138,"Lord Of Death",1373,1,"NifInvasion::OnLoDDead"; + monster "niflheim",131,141,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",131,135,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",128,138,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",134,138,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",134,141,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",128,141,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",134,135,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",128,135,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + break; + + case 4: + monster "niflheim",311,64,"Lord Of Death",1373,1,"NifInvasion::OnLoDDead"; + monster "niflheim",311,67,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",311,61,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",308,64,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",314,64,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",314,61,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",314,67,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",308,67,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",308,61,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + break; + + case 5: + monster "niflheim",238,131,"Lord Of Death",1373,1,"NifInvasion::OnLoDDead"; + monster "niflheim",238,134,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",238,128,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",235,131,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",241,131,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",235,128,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",235,134,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",241,128,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",241,134,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + break; + + case 6: + monster "niflheim",86,219,"Lord Of Death",1373,1,"NifInvasion::OnLoDDead"; + monster "niflheim",86,222,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",86,216,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",89,219,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",83,219,"Bloody Murderer",1507,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",89,222,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",89,216,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",83,222,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",83,216,"Loli Ruri",1505,1,"NifInvasion::OnInvasionMonsters"; + break; + + } + monster "niflheim",154,95,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",115,65,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",330,195,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",151,83,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",285,245,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",235,135,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",265,48,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",186,139,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",166,267,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",82,202,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",219,44,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",287,44,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",275,165,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",138,204,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",299,39,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",31,154,"Disguise",1506,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",154,96,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",116,65,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",151,84,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",286,245,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",330,196,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",236,135,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",165,49,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",167,267,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",82,203,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",220,44,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",287,45,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",287,44,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",276,166,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",139,205,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",300,39,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + monster "niflheim",31,155,"Dullahan",1504,1,"NifInvasion::OnInvasionMonsters"; + end; + +OnInvasionMonsters: + end; + +OnLoDDead: + killmonster "niflheim","NifInvasion::OnInvasionMonsters"; + } + +} diff --git a/src/map/clif.c b/src/map/clif.c index 3ecb8acba..9dece4e7c 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8120,7 +8120,7 @@ void clif_refresh(struct map_session_data *sd) clif_openvending(sd, sd->bl.id, sd->vending); if( pc_issit(sd) ) clif_sitting(&sd->bl); // FIXME: just send to self, not area - if( pc_isdead(sd) ) //When you refresh, resend the death packet. + if( pc_isdead(sd) ) // When you refresh, resend the death packet. clif_clearunit_single(sd->bl.id,CLR_DEAD,sd->fd); else clif_changed_dir(&sd->bl, SELF); @@ -9228,11 +9228,10 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) clif_clearunit_area(&sd->bl, CLR_DEAD); else { skill_usave_trigger(sd); -// Uncomment if you want to make player face in the same direction he was facing right before warping. [Skotlex] -// clif_changed_dir(&sd->bl, SELF); + clif_changed_dir(&sd->bl, SELF); } -// Trigger skill effects if you appear standing on them +// Trigger skill effects if you appear standing on them if(!battle_config.pc_invincible_time) skill_unit_move(&sd->bl,gettick(),1); } |