mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 21:52:17 +00:00
Limit casting skill ups to casting skills
This commit is contained in:
1 parent
66fec40169
commit
c81a5e0783
3 files changed
+24
-8
No files matched your search
+6
-4
@@ -1327,12 +1327,14 @@ void Mob::CastedSpellFinished(uint16 spell_id, uint32 target_id, CastingSlot slo
|
||||
SetMana(GetMana());
|
||||
|
||||
// skills
|
||||
c->CheckIncreaseSkill(spells[spell_id].skill, nullptr);
|
||||
if (EQEmu::skills::IsCastingSkill(spells[spell_id].skill)) {
|
||||
c->CheckIncreaseSkill(spells[spell_id].skill, nullptr);
|
||||
|
||||
// increased chance of gaining channel skill if you regained concentration
|
||||
c->CheckIncreaseSkill(EQEmu::skills::SkillChanneling, nullptr, regain_conc ? 5 : 0);
|
||||
// increased chance of gaining channel skill if you regained concentration
|
||||
c->CheckIncreaseSkill(EQEmu::skills::SkillChanneling, nullptr, regain_conc ? 5 : 0);
|
||||
|
||||
c->CheckSpecializeIncrease(spell_id);
|
||||
c->CheckSpecializeIncrease(spell_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user