Timeslip said:Magnus said:I have absolutely no idea how to script stuffCode://hs_calcapcost.int procedure start begin variable type; if hook_init == 0 then begin type:=get_sfall_arg; type:=get_Sfall_arg; if type==<whatever> set_sfall_return(<whatever>); end end end
All right, thanks for putting that together! Got any idea how I could find those values, are they hex offsets or what am I looking for? Do I just compile that with the sfall compiler? Where do I put it, and will it run automatically? Also, will this be compatible with other mods?
Sounds good! Like the above, how would I go about setting up a script like that?Timeslip said:Yes, script it. (a mixture of hs_combatdamage, and set_critter_extra_stat in a global script)Magnus said:Also, is it possible to make Melee Damage apply to Throwing weapons? Is it possible to change the way it's calculated, I'm thinking ST+AG/3 would be good? And, is it possible to make it affect both minimum and maximum damage instead of just maximum?