Renamed Skill method getEffects to applyEffects.

This commit is contained in:
MobiusDevelopment
2021-03-16 07:53:02 +00:00
parent 44ffd64510
commit 6c86d1d864
86 changed files with 181 additions and 181 deletions

View File

@@ -151,7 +151,7 @@ public class Q365_DevilsLegacy extends Quest
final Skill skill = SkillTable.getInstance().getSkill(4082, 1);
if ((skill != null) && (player.getFirstEffect(skill) == null))
{
skill.getEffects(npc, player);
skill.applyEffects(npc, player);
}
}
}

View File

@@ -236,7 +236,7 @@ public class Q421_LittleWingsBigAdventure extends Quest
final Skill skill = SkillTable.getInstance().getSkill(4167, 1);
if ((skill != null) && (player.getFirstEffect(skill) == null))
{
skill.getEffects(npc, player);
skill.applyEffects(npc, player);
}
}
break;
@@ -312,7 +312,7 @@ public class Q421_LittleWingsBigAdventure extends Quest
final Skill skill = SkillTable.getInstance().getSkill(4243, 1);
if ((skill != null) && (originalKiller.getFirstEffect(skill) == null))
{
skill.getEffects(npc, originalKiller);
skill.applyEffects(npc, originalKiller);
}
}

View File

@@ -169,7 +169,7 @@ public class Q501_ProofOfClanAlliance extends Quest
st.takeItems(SYMBOL_OF_LOYALTY, 1);
st.takeItems(SYMBOL_OF_LOYALTY, 1);
st.giveItems(ANTIDOTE_RECIPE_LIST, 1);
SkillTable.getInstance().getSkill(4082, 1).getEffects(npc, player);
SkillTable.getInstance().getSkill(4082, 1).applyEffects(npc, player);
startQuestTimer("poison", 60000, npc, player, true);
st.playSound(QuestState.SOUND_MIDDLE);
}