… | |
… | |
414 | // TODO: fix firewall object on map |
414 | // TODO: fix firewall object on map |
415 | /* Firewall is bizarre in that spell type was stored in dam. Rest are 'normal' |
415 | /* Firewall is bizarre in that spell type was stored in dam. Rest are 'normal' |
416 | * in that spell was stored in sp. |
416 | * in that spell was stored in sp. |
417 | */ |
417 | */ |
418 | //LOG (llevError, "old spellcasting object found: %s", debug_desc ()); |
418 | //LOG (llevError, "old spellcasting object found: %s", debug_desc ()); |
419 | object *tmp = get_archetype (spell_mapping[type == FIREWALL ? stats.dam : stats.sp]); |
419 | object *tmp = archetype::get (spell_mapping[type == FIREWALL ? stats.dam : stats.sp]); |
420 | insert_ob_in_ob (tmp, this); |
420 | insert_ob_in_ob (tmp, this); |
421 | randomitems = 0; |
421 | randomitems = 0; |
422 | } |
422 | } |
423 | |
423 | |
424 | /* spellbooks & runes use slaying. But not to arch name, but to spell name */ |
424 | /* spellbooks & runes use slaying. But not to arch name, but to spell name */ |