mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-19 16:57:20 +07:00
Adds charged skill to skills (non-charged for now)
This commit is contained in:
parent
9901d3b1d2
commit
f3098b6d5e
@ -259,8 +259,15 @@ public class CharData {
|
||||
}
|
||||
|
||||
for (Stat stat : stats.remaining()) {
|
||||
if (stat.id == Stat.item_nonclassskill) {
|
||||
skills.getAndIncrement(stat.param, 0, stat.value());
|
||||
switch (stat.id) {
|
||||
case Stat.item_nonclassskill:
|
||||
skills.getAndIncrement(stat.param(), 0, stat.value());
|
||||
break;
|
||||
case Stat.item_charged_skill: // FIXME: This is incorrect on purpose
|
||||
skills.getAndIncrement(stat.param2(), 0, stat.param1());
|
||||
break;
|
||||
default:
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
notifySkillsChanged(skills);
|
||||
|
Loading…
Reference in New Issue
Block a user