… | |
… | |
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 | |
|
|
1669 | void add_button_link (object *button, mapstruct *map, int connected); |
|
|
1670 | |
|
|
1671 | void remove_button_link (object *op); |
|
|
1672 | |
1665 | void |
1673 | void |
1666 | cf_object_set_resistance (object *op, int rtype, int val) |
1674 | cf_object_set_resistance (object *op, int rtype, int val) |
1667 | CODE: |
1675 | CODE: |
1668 | if (rtype >= 0 && rtype < NROFATTACKS) |
1676 | if (rtype >= 0 && rtype < NROFATTACKS) |
1669 | op->resist[rtype] = val; |
1677 | op->resist[rtype] = val; |