Lone Wolf Development Forums My tweaks to support Themes
 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

Senior Member

Join Date: Nov 2012
Posts: 208

November 19th, 2012, 02:07 PM
Ok, the Priority was the problem. Thanks.
#51
Senior Member
Volunteer Data File Contributor

Join Date: Dec 2008
Posts: 515

November 19th, 2012, 02:25 PM
Next question... trying to come up with a way to assign a bonus based on the character's level. Such as the secondary power of Blazing Corona Firecrafter power

not sure if we have access to CASE, so I went with nested If's
Code:
```levelb = if(#level[] < 11) then 2
else if(#level[]<21) then 4
else 6 endif endif```
But I don't know how to get at Fields.pwAtkMod to set it to the levelb value.

And FWIW I'm apparently not allowed ot use #level[] at that point in time either.
#52
Daphne Pfister
Member

Join Date: Oct 2011
Posts: 66

November 19th, 2012, 03:48 PM
Quote:
 Originally Posted by cryptoknight Next question... trying to come up with a way to assign a bonus based on the character's level. Such as the secondary power of Blazing Corona Firecrafter power not sure if we have access to CASE, so I went with nested If's Code: ```levelb = if(#level[] < 11) then 2 else if(#level[]<21) then 4 else 6 endif endif``` But I don't know how to get at Fields.pwAtkMod to set it to the levelb value. And FWIW I'm apparently not allowed ot use #level[] at that point in time either.
I wonder how hard it would be to split Attack Bonus into Attack Bonus Heroic, Attack Bonus Paragon, Attack Bonus Epic. And likewise for Weapon Damage and Base Damage Dice. Then have a calculation that uses the right values based on the tier, defaulting to the Heroic values if nothing is specified for Paragon and Epic The heroic values would go in identical tags fields as the current system does. Doesn't seem like it would be that hard, and seems like a better solution as there are a lot of powers that vary by level. Biggest done side would be forking even more of the 4e game system code unless I could get them to integrate it.
#53
Senior Member

Join Date: Nov 2012
Posts: 208

November 20th, 2012, 02:39 PM
Do we have a place where all user-edited Themes are put BTW? Assuming more people did some, this might be nice.
#54
MagicSN
Senior Member

Join Date: Nov 2012
Posts: 208

November 22nd, 2012, 02:40 PM
Hello!

Two new questions (for the Theme I am currently implementing, Sohei):

1. How do I do this:

"You gain a +1 power bonus to saving throws against fear effects and effects that render you dazed, dominated or stunned." Well, thinking of it, there is no place on the char sheet where this would listed, so just making it a text as it is now is probably okay? ^^

2. A general question (with Sohei and other themes): Is there any way to make the number of dice dependent on the level (as the "built in" powers like Scorching burst do not support this and just write it into the text, I guess not).

Attached is my current version of "Sohei" (Thanks again for all the help with scripts !!!)

MagicSN
Attached Files
 Sohei.user (10.5 KB, 0 views)

Last edited by MagicSN; November 22nd, 2012 at 02:45 PM.
#55
MagicSN
Senior Member

Join Date: Nov 2012
Posts: 208

November 23rd, 2012, 03:46 PM
And the next Themes implemented: Noble and Disgraced Noble (in one file).

BTW: Feel free to add the files from my added Themes to the starting post, so they are easier to find!
Attached Files
 Noble.user (11.1 KB, 0 views)

Last edited by MagicSN; November 23rd, 2012 at 04:23 PM.
#56
MagicSN
Senior Member

Join Date: Nov 2012
Posts: 208

November 24th, 2012, 03:07 AM
Four more Themes.

Infernal Prince, Chevalier, Knight Hospitaler and Guttersnipe inside this one (decided to put more themes into a file to make the amount of files not so big ^^). Also some small Bugfixes on Guardian and Disgraced Noble (skill bonus was not calculated before) - The Noble.user as before contains both Noble and Disgraced Noble.

Anyone has an idea what I did wrong in the +1 to fire attack powers Feature's Script for the Infernal Prince? It seems to be not working. If anybody has an idea how I could fix it this would be great!
Attached Files
 OtherThemes.user (22.0 KB, 0 views) Guardian.user (5.5 KB, 0 views) Noble.user (11.1 KB, 0 views)

Last edited by MagicSN; November 24th, 2012 at 07:42 AM.
#57
Senior Member

Join Date: Nov 2012
Posts: 208

November 24th, 2012, 01:57 PM
How do I implement this: Use Intelligence or Charisma (the highest) for this power.

I tried basing it on this which was posted earlier

var bonus as number
var attidstr as string

~ Use Int as default - this might not be necessary
bonus = #attrbonus[attrInt]
attidstr = "attrInt"

~ Find highest bonus
foreach pick in hero from Attribute
if (eachpick.field[attrBonus].value > bonus) then
bonus = eachpick.field[attrBonus].value
attidstr = eachpick.idstring
endif
nexteach

~ Use that as the damage and attack attributes
perform assignstr["Attack." & attidstr]

My idea was to put into the foreach something like

if ((eachpick.idstring == "Charisma") || (eachpick.idstring == "Intelligence"))

but how is the correct syntax ???

MagicSN
#58
Senior Member

Join Date: Nov 2012
Posts: 208

November 25th, 2012, 03:59 AM
I can answer my own question:

It seems though that code like this should be included into a LOT of
powers, they always took the easy way and used just one of the options and wrote the rest down as text. Note, that a third variable (attidstr3) is needed, originally I had "attidstr = "attrCha"" etc. in this example overwriting the old value and then it always used the default, when I was using a third variable it works correctly (for both cases, Int>Cha and Cha>Int)

var bonus as number
var bonus2 as number
var attidstr as string
var attidstr2 as string
var attidstr3 as string

bonus = #attrbonus[attrInt]
attidstr = "attrInt"
bonus2 = #attrbonus[attrCha]
attidstr2 = "attrCha"

if (#attrbonus[attrCha]>#attrbonus[attrInt]) then
bonus = #attrbonus[attrCha]
attidstr3 = "attrCha"
else
bonus = #attrbonus[attrInt]
attidstr3 = "attrInt"
endif

~ Use that as the damage and attack attributes
perform assignstr["DamageAttr." & attidstr3]
perform assignstr["Attack." & attidstr3]
#59
Senior Member

Join Date: Nov 2012
Posts: 208

November 25th, 2012, 05:10 AM
Please note I updated some of the themes I implemented, but only did so in the other thread, the one were I summary-list all the .user files from me (so people do not have to search for Theme-Files in a big thread).

#60

 Thread Tools Display Modes Linear 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 05:15 PM.

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