Script Function: Q434
From Ultima Online: The Second Age
function void Q434(obj Q61K, int Q4NC, int Q65M) { switch (Q65M) { case 0x00 setObjVar(Q61K, "poisonImmunity", 0x01); if (Q4NC != 0x00) { callback(Q61K, Q4NC, 0x96) } ; break; case 0x01 setObjVar(Q61K, "coldImmunity", 0x01); if (Q4NC != 0x00) { callback(Q61K, Q4NC, 0x97) } ; break; case 0x02 setObjVar(Q61K, "fireImmunity", 0x01); if (Q4NC != 0x00) { callback(Q61K, Q4NC, 0x98) } ; break; default bark(Q61K, "Invalid immunity type."); break; } return (); }