Knights' Seal & I. MaxHP + Adherent mob status + Script point-warps
Fixed Seal skill not working for Blaze Wizard. Added a check against Seal skill on bosses. Reviewed improper usage of "random spawn point arrival" at several warps on scripts. Refactored CPQ modules fetching players from the channel storage, this should be unneeded after a recent update on the player object from MPC. Added door objects as a visible map object for the player server-side view component. Fixed a few scenarios where mobs would unexpectedly show up impervious to mob status. Fixed scenario where a player wouldn't receive disease informations from other players after changing maps. Fixed some magic-type skills (such as Magic Claw or Freeze) not displaying damage value for other players when the player is within melee-range from the mob. Added check for whether a given quest is scripted before trying to find the script. Fixed registering items onto MTS leading to loss of a few of its properties (expiration, item level, etc). Fixed "Improved MaxHP" skill gains not working for Thunderbreakers. Refactored pet autopot to also apply on HP/MP consumption by items/skills. Added portal sound effect on Mystic Doors.
This commit is contained in:
@@ -245,6 +245,7 @@ function monsterKilled(mob, eim) {
|
||||
eim.clearPQ();
|
||||
|
||||
eim.dispatchUpdateQuestMobCount(bossMobId, entryMap);
|
||||
eim.dispatchUpdateQuestMobCount(9101003, entryMap); // thanks Atoot for noticing quest not getting updated after boss kill
|
||||
mob.getMap().broadcastBalrogVictory(eim.getLeader().getName());
|
||||
} else {
|
||||
if(count == 1) {
|
||||
|
||||
@@ -24,7 +24,7 @@ function respawn(eim){}
|
||||
|
||||
function playerEntry(eim, player){
|
||||
var cave = eim.getMapInstance(eventMap + 10 * eim.getIntProperty("nex"));
|
||||
player.changeMap(cave);
|
||||
player.changeMap(cave, 1);
|
||||
}
|
||||
|
||||
function scheduledTimeout(eim){
|
||||
|
||||
@@ -24,7 +24,7 @@ function respawn(eim){}
|
||||
|
||||
function playerEntry(eim, player){
|
||||
var cave = eim.getMapInstance(eventMap);
|
||||
player.changeMap(cave);
|
||||
player.changeMap(cave, 1);
|
||||
}
|
||||
|
||||
function scheduledTimeout(eim){
|
||||
|
||||
@@ -63,7 +63,7 @@ function respawn(eim) {
|
||||
|
||||
function playerEntry(eim, player) {
|
||||
var amplifierMap = eim.getMapInstance(entryMap.getId());
|
||||
player.changeMap(amplifierMap);
|
||||
player.changeMap(amplifierMap, 1);
|
||||
eim.schedule("timeOut", timer);
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ function respawn(eim) {
|
||||
|
||||
function playerEntry(eim, player) {
|
||||
var amplifierMap = eim.getMapInstance(entryMap.getId());
|
||||
player.changeMap(amplifierMap);
|
||||
player.changeMap(amplifierMap, 1);
|
||||
eim.schedule("timeOut", timer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user