Fail.
|
|
Ok, go to src -> com -> rs2hd -> combat -> PlayerCombat.
Then go down to:
Above this paste:Code:if (p.getEquipment().get(3).getDefinition().getId() == 5698) { //Dragon Dagger(s) p.specDelay = 8; p.animate(0x426, 0); p.graphics(252, 100); p2.hit(meleeDamage); p2.hit(meleeDamage2); //p.specialAmount -= 25; } }
Here you have full Dragon Daggers specsCode:if (p.getEquipment().get(3).getDefinition().getId() == 5680) { //Dragon Dagger (P+) p.specDelay = 8; p.animate(0x426, 0); p.graphics(252, 100); p2.hit(meleeDamage); p2.hit(meleeDamage2); //p.specialAmount -= 25; } if (p.getEquipment().get(3).getDefinition().getId() == 1215) { //Dragon Dagger p.specDelay = 8; p.animate(0x426, 0); p.graphics(252, 100); p2.hit(meleeDamage); p2.hit(meleeDamage2); //p.specialAmount -= 25; } if (p.getEquipment().get(3).getDefinition().getId() == 1231) { //Dragon Dagger(P) p.specDelay = 8; p.animate(0x426, 0); p.graphics(252, 100); p2.hit(meleeDamage); p2.hit(meleeDamage2); //p.specialAmount -= 25; }.
Credits:
100% Bru955 (I am also Reloader).
Hope It Helps You.
Fail.
Bai.Code:if (p.getEquipment().get(3).getDefinition().getId() == 1231 && p.getEquipment().get(3).getDefinition().getId() == 1215 && p.getEquipment().get(3).getDefinition().getId() == 5680 && p.getEquipment().get(3).getDefinition().getId() == 5698) { //Dragon Daggers p.specDelay = 8; p.animate(0x426, 0); p.graphics(252, 100); p2.hit(meleeDamage); p2.hit(meleeDamage2); //p.specialAmount -= 25; }
Happy nawsz.... cookie ples...
Much better then 4 of them.. But ye. u woud have to seperate them for posion i think..
Ohwel.. will do for now![]()
Ye sure...... just dislike that we are still using the same way of doing these things.. nobody is making methods for specials etc.. (atleast not releasing them..)
My specials are handled with 3 methods. And i can add new stuff with almost no changes..
This way makes the file get so huge.. if u know what i mean.
Well gl with it![]()
| « Making a Weapon have a special attack | How to change Login screen. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |