Implemented skill dosound and added stsoundclass

This commit is contained in:
Collin Smith 2020-08-23 17:18:48 -07:00
parent 92ac85ee8f
commit d30593cc9b
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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;