bump
|
I need to know where to put the prayer anim and gfx, for when you use on altar I also want it so you can choose how much it puts in altar (how it is on rs) thats not urgent I just wanna know where I'd put gfx
Also I'd like help how can I make it so an npc like ice strykewyrms and frost drags and stuff are weaker against magic fire attacks?
bump
http://www.rune-server.org/runescape...altar-gfx.html Check out my prayer release for PI.
Ty, do you know how to make strykewyrms and frost dragons weaker to magic attacks?
oh yeah also the option to use more then 1
Eh, I don't know, but a wild guess would be something like this:
Add this to combatassistant.java:Then findCode:private boolean isWeakToFire(int npcID, int spellID) { int[] fireSpells = {/*Spell ID's of the fire attacks go here */}; int[] iceMonsters = {/*NPC ID's of the ice monsters go here */}; for (int i = 0; i < fireSpells.length; i++) { if (spellID != i) { //SpellID isn't fire return false; } else { //SpellID is fire if (npcID == i) { //NPCid is ice monster return true; } } } return false; }ChangeCode:} else if (c.projectileStage > 0) { // magic hit damage int damage = Misc.random(c.MAGIC_SPELLS[c.oldSpellId][6]);toCode:int damage = Misc.random(c.MAGIC_SPELLS[c.oldSpellId][6]);Untested, but it should work. Damage is doubled by the way.Code:int damage = Misc.random(isWeakToFire(Server.npcHandler.npcs[i].npcId, c.MAGIC_SPELLS[c.oldSpellId][6]) ? c.MAGIC_SPELLS[c.oldSpellId][6] * 2 : c.MAGIC_SPELLS[c.oldSpellId][6]);
ok Thanks I'll test it out
How would I know the spell ids?
Bump, I need spell ids for all the fire spells
In combat assistant.java, just add this under what I told you to add:Code:System.out.println("Spell ID: "+c.MAGIC_SPELLS[c.oldSpellId][6];
Oh I don't need to replace anything? :O
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |