Originally created by @Sch4ff3r on GitHub (Jan 7, 2020).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/352
Whip Animation on monsters doesn't show up.
In specials.java line 108 method activateSpecial doesnt support NPC because in a fight with a NPC the o var is null so it never happens(line 222):
if (o != null)
{
o.gfx0(SA.getGfx1());
}
<!-- gh-comment-id:571377945 -->
@Gptaqbc commented on GitHub (Jan 7, 2020):
In specials.java line 108 method activateSpecial doesnt support NPC because in a fight with a NPC the o var is null so it never happens(line 222):
if (o != null)
{
o.gfx0(SA.getGfx1());
}
(Server.npcHandler isn't what we use but it shouldn't be hard to find what to use)
If NPC var isn't null it'll apply the GFX to it.
EZPZ
<!-- gh-comment-id:578813239 -->
@Gptaqbc commented on GitHub (Jan 27, 2020):
Oh I got it! Add this before the line 108:
if(Server.npcHandler.npcs[i] != null) {
Server.npcHandler.npcs[i].gfx0(SA.getGfx1());
}
(Server.npcHandler isn't what we use but it shouldn't be hard to find what to use)
> If NPC var isn't null it'll apply the GFX to it.
EZPZ
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Sch4ff3r on GitHub (Jan 7, 2020).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/352
Whip Animation on monsters doesn't show up.
@Jmx77-RS commented on GitHub (Jan 7, 2020):
Which monsters in particular?
@Gptaqbc commented on GitHub (Jan 7, 2020):
In specials.java line 108 method activateSpecial doesnt support NPC because in a fight with a NPC the o var is null so it never happens(line 222):
@Gptaqbc commented on GitHub (Jan 27, 2020):
Oh I got it! Add this before the line 108:
(Server.npcHandler isn't what we use but it shouldn't be hard to find what to use)
EZPZ