Lone Wolf Development Forums Assistance with Feat: Legendary Size from In the Company of Dragons Expanded
 User Name Remember Me? Password
 Register FAQ Members List Search Today's Posts Mark Forums Read

 Notices Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528. If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com. - The Lone Wolf Development Team

 Thread Tools Display Modes
Junior Member

Join Date: Mar 2014
Location: Milwaukee, WI
Posts: 20

November 1st, 2022, 01:23 PM
This is what I have now but I'm not sure how to write the if statement for has levels in Draconic Exemplar & also has a specific feat so I keep getting errors at the moment.

~ determine dracomorphosis increment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)

~ size bump every 4 levels for Draconic Exemplar
~ size bump every 5 levels for Draconic Hero
~ whichever one is higher takes effect, no stacking
var ExLev as number
var HeroLev as number
var ExIncr as number
var HeroIncr as number

ExLev = #levelcount[DraconicE]
call DracHero

ExIncr = round(ExLev/4,0,-1)
HeroIncr = round(HeroLev/5,0,-1)

~ Legendary Size feat, adjust Draconic Exemplar & Draconic Hero levels by +2 for size increase

if (ExLev >= 1, hero.childlives[fCITTanLegSize] = 1) then
ExIncr = round(ExLev+2/4,0,-1)
hero.childfound[cRPDraDra4].field[xExtraLev].value += 2
elseif (ExLev >= 20, hero.childlives[fCITTanLegSize] = 1) then
hero.child[aSTR].field[aNormMod].value += 2
hero.child[aCON].field[aNormMod].value += 2
elseif (HeroLev >= 1, hero.childlives[fCITTanLegSize] = 1) then
hero.childfound[cRPDraDra5].field[xExtraLev].value += 2
elseif (HeroLev <= 19, hero.childlives[fCITTanLegSize] = 1) then
HeroIncr = round(HeroLev+2/5,0,-1)
elseif (HeroLev >= 20, hero.childlives[fCITTanLegSize] = 1) then
HeroIncr = 5
perform hero.childfound[abCITDraHGrtWyrm].assign[Helper.ShowSpec]
endif

~debug "ExLev = " & ExLev
~debug "HeroLev = " & HeroLev

~ store for later script use
field[abValue5].value = maximum(ExIncr,HeroIncr)

~debug "incr = " & field[abValue5].value
#11

 Thread Tools Display Modes Threaded Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Lone Wolf Development Web Site Announcements Realm Works Forums     Realm Works Discussion         Realm Works in Action         Realm Works Feature Requests     Realm Works in Action     Realm Works Feature Requests Hero Lab Online Forums     Hero Lab Online Discussion     HLO - Pathfinder 1st Edition     HLO - Pathfinder 2nd Edition     HLO - Starfinder     HLO - Shadowrun Hero Lab Forums     HL - Pathfinder Roleplaying Game     HL - D&D 5th Edition SRD     HL - Shadowrun     HL - Mutants & Masterminds     HL - d20 System     HL - World of Darkness     HL - Call of Cthulhu     HL - 4th Edition     HL - Savage Worlds     HL - Cortex System     HL - Authoring Kit     HL - User Projects     HL - Alternity (user-created)     Hero Lab Discussion Army Builder Forums     Army Builder Army Builder Data Files     Babylon 5: A Call to Arms     Battlefleet Gothic     Blood Bowl     Black Powder, Bolt Action, Hail Caesar, Judge Dredd, and Pike & Shotte     Confrontation - English     Kings of War (2nd Edition)     Lord of the Rings (Tabletop)     Mordheim     Necromunda     Starship Troopers     Star Wars: X-Wing and Armada Miniatures Game     The 9th Age     Warhammer Ancient Battles     Warhammer 40,000     Warhammer Fantasy 8th Ed.     Warhammer Historical: The Great War     Warhammer Fantasy 3rd Ed.     Warlord     Warmachine & Hordes     Warmaster Card Vault Forums     Card Vault Card Vault Data Files     MLB Showdown     Lord of the Rings CCG     .hack//ENEMY     Vs. System     Yu-Gi-Oh!     D&D Miniatures

All times are GMT -8. The time now is 10:23 AM.

 -- Default Style -- Majestic Contact Us - Lone Wolf Development Forums - Archive - Top

Powered by vBulletin® - Copyright ©2000 - 2023, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.