View Single Post
AWizardInDallas
Senior Member
 
Join Date: Aug 2008
Location: Plano, TX
Posts: 147
Send a message via AIM to AWizardInDallas Send a message via MSN to AWizardInDallas Send a message via Yahoo to AWizardInDallas Send a message via Skype™ to AWizardInDallas

Old March 2nd, 2009, 03:09 PM
Also decided to check to make sure they have the martial weapon proficiency. So, code, final version for elf is:

Code:
~ If you're an elf you're proficient with Elven weapons.
var israce as number
var hasfeat as number
israce = tagis[Race.Elf]
hasfeat = #hasfeat[fWepMart] + #hasfeat[fMartial]

if (israce > 0 ) then
  if (hasfeat > 0) then
    perform hero.assign[WepProf.wThinBlade]
    perform hero.assign[WepProf.wLightBld]
    perform hero.assign[WepProf.wDoubleBow]
  endif
endif
Again, haven't tested it but it should work.
AWizardInDallas is offline   #5 Reply With Quote