Short and sweet cause you guys are probably tired of seeing me.
I've finished fixing all problems with Runecrafting and have moved on to Magic. Namely adding all the spells that are not present already.
First spell is Confuse:
Playercombat.java:
Code:
case 26:
player.setNextAnimation(new Animation(729));
player.setNextGraphics(new Graphics(102));
mage_hit_gfx = 104;
base_mage_xp = 1.15;
World.sendProjectile(player, target, 103, 18, 18, 50, 50, 0, 0);
return 5;
Magic.java:
Code:
case 26:
if (!checkSpellRequirements(player, 3, delete, WATER_RUNE, 3, EARTH_RUNE, 2, BODY_RUNE, 1))
return false;
break;
Thos format follows the same as all other spells to the T and yet when casting the spell nothing happens. I merely set it up to cast the spell only visually to see if it would work and it didn't.
I tried changing the spell id of an already existing spell to the id of confuse and it still didn't do anything. I don't really have any other ideas.