… | |
… | |
1660 | |
1660 | |
1661 | int kill_object (object *op, int dam = 0, object *hitter = 0, int type = AT_PHYSICAL) |
1661 | int kill_object (object *op, int dam = 0, object *hitter = 0, int type = AT_PHYSICAL) |
1662 | |
1662 | |
1663 | int calc_skill_exp (object *who, object *op, object *skill); |
1663 | int calc_skill_exp (object *who, object *op, object *skill); |
1664 | |
1664 | |
|
|
1665 | void push_button (object *op); |
|
|
1666 | |
|
|
1667 | void use_trigger (object *op); |
|
|
1668 | |
1665 | void |
1669 | void |
1666 | cf_object_set_resistance (object *op, int rtype, int val) |
1670 | cf_object_set_resistance (object *op, int rtype, int val) |
1667 | CODE: |
1671 | CODE: |
1668 | if (rtype >= 0 && rtype < NROFATTACKS) |
1672 | if (rtype >= 0 && rtype < NROFATTACKS) |
1669 | op->resist[rtype] = val; |
1673 | op->resist[rtype] = val; |