question... would int percent = (GET_HIT(victim) / dam) * 100; always return 100? I want it so that it'll go into decimals for the division, and then * 100 would be the percent of hp you do in damage.. thanks for a response =) /---------\ /--------/ / /XXXXXXX\ \ / ////// / / ///XXXXX\\\ \ / ////// / / /////XXX\\\\\ \/ ////// / -=-=-=-=-=-=-=- / ////// \\\\\\\ ////// / Brian Williams / ////// /\ \\\\\XXX///// / bmw@efn.org / ////// / \ \\\XXXXX/// / / ////// / \ \XXXXXXX/ / /\ /_ |_| /\ |/ /--------/ \---------/ /--\ / | | /--\ |\ +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST