DNH
June 28th, 2007, 12:03
this is what currently happens (bear in mind this is for 2e AD&D):
players grab an attack die and roll it to make an attack the result is displayed on the chat window as something like "Boris: Longsword +1 (Attack) (18)"
i would like to be able to do something like the following:
players grab an attack die and roll it to make an attack the result is compared with values held in the character sheet db to find the AC hit the full result is displayed on the chat window as something like "Boris: Longsword +1 (Attack) - probably hits AC -1 (18)"
i think i know how to do this (by manipulating chat_chat.lua and the draginfo.getDescription result) but everything i try is getting me nowhere. a related issue is getting hold of the final dice roll total (roll + modifiers) so as to make the afore-mentioned comparison.
any thoughts?
(i realise you may require more info!)
cheers
players grab an attack die and roll it to make an attack the result is displayed on the chat window as something like "Boris: Longsword +1 (Attack) (18)"
i would like to be able to do something like the following:
players grab an attack die and roll it to make an attack the result is compared with values held in the character sheet db to find the AC hit the full result is displayed on the chat window as something like "Boris: Longsword +1 (Attack) - probably hits AC -1 (18)"
i think i know how to do this (by manipulating chat_chat.lua and the draginfo.getDescription result) but everything i try is getting me nowhere. a related issue is getting hold of the final dice roll total (roll + modifiers) so as to make the afore-mentioned comparison.
any thoughts?
(i realise you may require more info!)
cheers