1
0
Fork 0
mirror of https://codeberg.org/noisytoot/notnotdnethack.git synced 2025-07-29 17:02:25 +01:00

Stray iron helms

This commit is contained in:
Chris-plus-alphanumericgibberish 2017-06-25 19:50:26 -04:00
parent 4cab517753
commit 1ef3c0930d

View file

@ -381,8 +381,8 @@ doread()
int erosion;
if(arti_mandala(scroll)){
if(uarmu && uarmu == scroll && uarm){
if( uarm->otyp == CRYSTAL_PLATE_MAIL){
You("look at your shirt through your crystal armor.");
if( uarm->obj_material == GLASS){
You("look at your shirt through your glass armor.");
}
else{
if (Blind) You_cant("see that.");
@ -655,7 +655,7 @@ int curse_bless;
}
} else if (obj->oclass == TOOL_CLASS || is_blaster(obj)
|| obj->otyp == DWARVISH_IRON_HELM || obj->otyp == VIBROBLADE
|| obj->otyp == DWARVISH_HELM || obj->otyp == VIBROBLADE
|| obj->otyp == FORCE_PIKE) {
int rechrg = (int)obj->recharged;
@ -711,11 +711,11 @@ int curse_bless;
p_glow2(obj, NH_WHITE);
}
break;
case DWARVISH_IRON_HELM:
case DWARVISH_HELM:
case OIL_LAMP:
case BRASS_LANTERN:
if (is_cursed) {
if (obj->otyp == DWARVISH_IRON_HELM) {
if (obj->otyp == DWARVISH_HELM) {
/* Don't affect the +/- of the helm */
obj->age = 0;
}
@ -727,13 +727,13 @@ int curse_bless;
end_burn(obj, TRUE);
}
} else if (is_blessed) {
if (obj->otyp != DWARVISH_IRON_HELM) {
if (obj->otyp != DWARVISH_HELM) {
obj->spe = 1;
}
obj->age = 1500;
p_glow2(obj, NH_BLUE);
} else {
if (obj->otyp != DWARVISH_IRON_HELM) {
if (obj->otyp != DWARVISH_HELM) {
obj->spe = 1;
}
}