mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-20 09:17:29 +07:00
Implemented skill dosound and added stsoundclass
This commit is contained in:
parent
92ac85ee8f
commit
d30593cc9b
@ -35,6 +35,8 @@ public class Skills extends Excel<Skills.Entry> {
|
||||
@Column public String charclass;
|
||||
@Column public String skilldesc;
|
||||
@Column public String stsound;
|
||||
@Column public String stsoundclass;
|
||||
@Column public String dosound;
|
||||
@Column public String castoverlay;
|
||||
@Column public String anim;
|
||||
@Column public String seqtrans;
|
||||
|
@ -39,6 +39,9 @@ public class SkillCastHandler extends PassiveSystem {
|
||||
|
||||
@Subscribe
|
||||
public void cltdofunc(SkillDoEvent event) {
|
||||
final Skills.Entry skill = Riiablo.files.skills.get(event.skillId);
|
||||
Riiablo.audio.play(skill.dosound, true);
|
||||
|
||||
switch (event.cltdofunc) {
|
||||
case 0:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user