|
|
Cool that you show snippets of infrastructure. Whats the 'e' prefacing names? "Eitems" supposed to be enum items?
donald trump approves this message 

Looks pretty good, i like this revision =)
Fixed, moved the check to removeRunes which is called after verifying the player has the runes. Also disabled it for now since it's only supose to work for combat spells and idk how I will do them yet. Thanks ;p
Shhh it's an hidden feature ^^
<3

just something i randomly noticed
this part and the method isnt very efficientCode:if (hasStaffOfLightEffect()) { staffOfLight = true; player.message("Your spell draws its power completely from your weapon."); return true; }
by default this is already false and....Code:this.staffOfLight = false;
you forgot to check if enchants is set or nulled and....Code:Combinations enchants = getCombinations(level);
your naming is kinda weird, no offense, but naming for this case should be singular so e.g "enchantOnyx" cause i assume its a single action however it happens multiple times.Code:enchantSapphires
sorry but anyway goodluck with your project!![]()


best of luck friend
Yea, already refactored it to be called during removeRunes() so staffOfLight doesn't exist anymore.
Never going to be nulled as long as I don't add new routes for new enchants (which I don't think I'll ever do). And even if I did do that, I don't mind getting an error since I'll be testing it anyway ;p
Yea, you're right I should probably change that. Thanks for the feedback
Keep up the good work.
| « Project thread for Aeonic718 | Devotion - 592 | PvP, Bosses, Minigames, Skilling, More to Come! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |