Issue information

Issue ID
#2765
Status
New
Severity
None
Started
Hercules Elf Bot
Feb 14, 2009 18:17
Last Post
Hercules Elf Bot
Feb 14, 2009 18:17
Confirmation
N/A

Hercules Elf Bot - Feb 14, 2009 18:17

Originally posted by [b]Kat-Revenge is an Ambition[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2765

It seems, according to Doddler's calculator, that Super Novices can only wield all level 4 weapons that aren't Bows and 2-handed swords. 2-handed staffs are wieldable.

I believe this is the current code:

CODE
if (sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_SUPERNOVICE) {
            //Spirit of Super Novice equip bonuses. [Skotlex]
            if (sd->status.base_level > 90 && item->equip & EQP_HELM)
                return 1; //Can equip all helms

            if (sd->status.base_level > 96 && item->equip & EQP_ARMS && item->type == IT_WEAPON)
                switch(item->look) { //In weapons, the look determines type of weapon.
                    case W_DAGGER: //Level 4 Knives are equippable.. this means all knives, I'd guess?
                    case W_1HSWORD: //All 1H swords
                    case W_1HAXE: //All 1H Axes
                    case W_MACE: //All 1H Maces
                    case W_STAFF: //All 1H Staves
                        return 1;
                }
        }


So, just fix that. We shouldn't be able to wield ALL 1-hand swords, axes, maxes, staves, and daggers, just the level 4 ones... According to Doddler's calc.

This post has been edited by Kat-Revenge is an Ambition: Feb 14 2009, 10:18 AM