Welcome to the Builder Academy

Question Autosplit not working

More
23 Mar 2018 17:26 #7767 by Nero
Replied by Nero on topic Autosplit not working
Here is what I did to fix this in fight.c
Code:
/* Cant determine GET_GOLD on corpse, so do now and store */ if (IS_NPC(victim)) { local_gold = GET_GOLD(victim); sprintf(local_buf,"%ld", (long)local_gold); } if (IS_NPC(victim) && HAPPY_GOLD) { local_gold = ((GET_GOLD(victim)) + ((GET_GOLD(victim) * HAPPY_GOLD) / 100)); sprintf(local_buf,"%ld", (long)local_gold); }

Please Log in or Create an account to join the conversation.

Time to create page: 0.373 seconds