News:

SMFNew Installed

+-+-

User+-

Welcome, Guest.
Please login or register.
 
 
 

Login with your social network

Forgot your password?

Site Stats+-

Members
Total Members: 728
Latest: Cho
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 10932
Total Topics: 795
Most Online Today: 389
Most Online Ever: 854
(September 18, 2024, 07:49:37 am)
Users Online
Members: 0
Guests: 310
Total: 310

Author Topic: Skills to modify/transfer Character bonuses  (Read 2221 times)

0 Members and 60 Guests are viewing this topic.

Skills to modify/transfer Character bonuses
« on: »
Id like to transfer character Stats into some others...
Lets say add a skill that removes your bonus X to give you a bonus Y
- Crit chance bonus into an Armor boost
- Manaregen into Liferegen
- PhysicalDMG bonus into elemental
- melee into ranged etc.

or some more wierd comp
- mana cost into Life penalty (yes, you pay with our Life!)
- 2HWeaponBonus into Pet DMG...

again, I'm just starting to work with skills.. this might be simple

edit: ah and is there a way to get buffs/debuffs from daytime? like a "vampire" melting in sunlight  ;D
« Last Edit: October 10, 2015, 04:22:14 pm by lolesch »
some projects in progress

Share on Bluesky Share on Facebook


Re: Skills to modify/transfer Character bonuses
« Reply #1 on: »
These are GREAT ideas Lolesch! I wish I was better with skills to be able to give you some suggestions right away; let's hope the others can give you advice...


Re: Skills to modify/transfer Character bonuses
« Reply #2 on: »
Hey lolesch,

Yes... are you thinking of having a passive skill that swaps these stat bonuses?  If so, it would be pretty easy.  Here's the setup:

You need a passive skill that applies 2 effects:
CRITICAL CHANCE
PERCENT ARMOR BONUS (or ARMOR BONUS)

On these effects you want to set the STAT field to be the CHARACTER CRIT CHANCE stat.  Or CHARACTER CRIT %?  I don't know, look it up here:
docs.runicgames.com
.
But remember, that even though the stat is used internally, you have to declare it in the STATS EDITOR of GUTS for it to be used in your mod, otherwise it will cause a crash.

Set the STAT % field in the effect editor to be 100% (or whatever percent you want it to be).

Then, for the MIN/MAX...

CRIT CHANCE = -1, which will give the player a penalty to crit chance = to their crit chance, making it 0%.
ARMOR BONUS = 1, which will give them a bonus to their armor equal to their crit chance

Then, in the EVENT_END just remove the affix that applies these two effects and you'll be golden.

Re: Skills to modify/transfer Character bonuses
« Reply #3 on: »
edit: ah and is there a way to get buffs/debuffs from daytime? like a "vampire" melting in sunlight  ;D

I don't know.  You could maybe use the UI to toggle a dynamic STAT that declares whether it's day or night, then use that dynamic stat as a stat req for a passive skill that applies the bonus when the stat is in the correct state.  I just don't know how to read whether it's day or night.  There might be a stat that already exists for this, I'd look for it in that list of static stats that I linked to you.  If it's not there, there may be another way.

 

Recent Topics+-