Crafters & keybinding & commands fix + updated MobBook info
Fixed player receiving DOT even if protected on Orbis Tower <B2>, added HPbar on Rombot, fixed keybinding issue with clashing skill-item id's, fixed some mischeckings on NPC crafters, fixed "travelling events" sending players to random spawnpoints when arriving, fixed hair&face commands, fixed dispel effect not showing to others, updated drop data on mobbook.
This commit is contained in:
@@ -929,7 +929,7 @@ public class MapleStatEffect {
|
||||
for (MapleMapObject affectedmo : affecteds) {
|
||||
MapleCharacter affected = (MapleCharacter) affectedmo;
|
||||
if (affected != applyfrom && (isGmBuff() || applyfrom.getParty().equals(affected.getParty()))) {
|
||||
if ((isResurrection() && !affected.isAlive()) || (!isResurrection() && affected.isAlive())) {
|
||||
if ((!isResurrection() && affected.isAlive()) || (isResurrection() && !affected.isAlive())) {
|
||||
affectedp.add(affected);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2956,6 +2956,14 @@ public class MapleMap {
|
||||
chr.changeMap(to);
|
||||
}
|
||||
}
|
||||
|
||||
public void warpEveryone(int to, int pto) {
|
||||
List<MapleCharacter> players = new ArrayList<>(getCharacters());
|
||||
|
||||
for (MapleCharacter chr : players) {
|
||||
chr.changeMap(to, pto);
|
||||
}
|
||||
}
|
||||
|
||||
// BEGIN EVENTS
|
||||
public void setSnowball(int team, MapleSnowball ball) {
|
||||
|
||||
@@ -74,7 +74,9 @@ public class SkillAction extends MapleQuestAction {
|
||||
public void run(MapleCharacter chr, Integer extSelection) {
|
||||
for(SkillData skill : skillData.values()) {
|
||||
Skill skillObject = SkillFactory.getSkill(skill.getId());
|
||||
boolean shouldLearn = false;
|
||||
if(skillObject == null) continue;
|
||||
|
||||
boolean shouldLearn = false;
|
||||
|
||||
if(skill.jobsContains(chr.getJob()) || skillObject.isBeginnerSkill())
|
||||
shouldLearn = true;
|
||||
|
||||
Reference in New Issue
Block a user