if I wanted the following:
Code: Select all
function onAttack( mChar, tDef)
{
mChar.TextMessage('Die fowl beast!');
tDef.TextMessage('Aaaaaaaaah');
}
How do I assign this to my player character?
Code: Select all
function onAttack( mChar, tDef)
{
mChar.TextMessage('Die fowl beast!');
tDef.TextMessage('Aaaaaaaaah');
}