Visvalor
December 14th, 2009, 23:17
Ok my next little project involves putting a generic control on the front page (4 to be exact) and having each one roll a dice when you click it, the dice would have to be selectable, and the modifier to go with it would go off of a stat determined inside the charsheet, (Also if possible the die selected could be set by a variable too)
On top of that though when the button is clicked it'll have to not only roll the dice, add the modifer but also put a little /emote statement for like
/e swings his sword for a total of 33
The thing is it'd have to look in several places for that info heh...
/e AttackType their WeaponType for a total of Damage damage!
Also wondering if it is possible to make a local shared table so that people can target "monsters" and attack them in turns and have the monsters table automatically reduce damage from defense, dodge etc.
Ok first thing first. How does one make a command to throw dice? And how do I attach a /e to it with variables?
On top of that though when the button is clicked it'll have to not only roll the dice, add the modifer but also put a little /emote statement for like
/e swings his sword for a total of 33
The thing is it'd have to look in several places for that info heh...
/e AttackType their WeaponType for a total of Damage damage!
Also wondering if it is possible to make a local shared table so that people can target "monsters" and attack them in turns and have the monsters table automatically reduce damage from defense, dodge etc.
Ok first thing first. How does one make a command to throw dice? And how do I attach a /e to it with variables?