Code:public boolean wearingVeracs() { return wearing helm && wearing skirt && wearing chest && weilding flail; }
|
How do I make other sets? I'm trying to make them but it keeps getting me errors.
Any ideas how to make other sets?Code:public boolean fullGuthans() { return c.playerEquipment[c.playerHat] == 4724 && c.playerEquipment[c.playerChest] == 4728 && c.playerEquipment[c.playerLegs] == 4730 && c.playerEquipment[c.playerWeapon] == 4726; c.playerEquipment[c.playerHat] == 4904 && c.playerEquipment[c.playerChest] == 4916 && c.playerEquipment[c.playerLegs] == 4922 && c.playerEquipment[c.playerWeapon] == 4910; }
Code:public boolean wearingVeracs() { return wearing helm && wearing skirt && wearing chest && weilding flail; }
My eyes! That's the shittiest code I've seen.
here
public boolean fullVeracs() {
return c.playerEquipment[c.playerHat] == 4753
&& c.playerEquipment[c.playerChest] == 4757
&& c.playerEquipment[c.playerLegs] == 4759
&& c.playerEquipment[c.playerWeapon] == 4755;
}
public boolean fullGuthans() {
return c.playerEquipment[c.playerHat] == 4724
&& c.playerEquipment[c.playerChest] == 4728
&& c.playerEquipment[c.playerLegs] == 4730
&& c.playerEquipment[c.playerWeapon] == 4726;
}
There a bit cleaner, Also those are the only two needed. the other Barrow sets are handled Diffrently, Perhaps Dharok can be done like that...Code:public boolean fullVeracs() { return c.playerEquipment[c.playerHat] == 4753 && c.playerEquipment[c.playerChest] == 4757 && c.playerEquipment[c.playerLegs] == 4759 && c.playerEquipment[c.playerWeapon] == 4755; } public boolean fullGuthans() { return c.playerEquipment[c.playerHat] == 4724 && c.playerEquipment[c.playerChest] == 4728 && c.playerEquipment[c.playerLegs] == 4730 && c.playerEquipment[c.playerWeapon] == 4726; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |