News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
December 06, 2019, 01:08:54 AM
collapse

*
Information

Please contribute to our


Sign up for a forum account at the Front Page. | Remember to Tag your posts.
Having problems logging in to the forums? Go the front page, log out and back in again.

Author Topic: Charge Domination %  (Read 675 times)

Offline Rhythmier

  • Common
  • *
  • Posts: 37
    • View Profile
Charge Domination %
« on: April 08, 2019, 09:54:24 AM »
Can anyone explain to me how this skill % to cast works?

I've been trying to mimic this skill with different % and different Triggerables but I can't seems to make it work the way I wanted.

So this is basically what I wanted to do, I want a skill to have [% to cast (Skill1)] after using a charge (its the same as engineer's charge). From what I know, affixes [cast spell] requires auto attack to work even if I add triggerables [usedcharge] before this skill with such affixes, and I tried, it didn't work

I studied Charge Domination a bit, and found that in the skill [level] section there's chance to cast skill, and its programmed as such:

   [LEVEL1]
      <INTEGER>CHANCE:3
      [EVENT_START]
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:SELF
            <STRING>AFFIX:RAILMAN_CHARGE_MASTERY_PROC
         [/AFFIXES]

I saw the integer, and I mimic the whole skill set

   [LEVEL1]
      <TRANSLATE>DESCRIPTION:50% chance to get full charge
      <FLOAT>RANDOMRANGE:0
      [EVENT_START]
         <BOOL>NOSTEALEFFECTS:0
         [EFFECTS]
            <STRING>TARGET:SELF
            [EFFECT]
               <STRING>NAME:Railman_Charge_Mastery
               <STRING>ACTIVATION:DYNAMIC
               <STRING>DURATION:INSTANT
               <INTEGER>LEVEL:1
               <STRING>TYPE:ADD TRIGGERABLE
               <FLOAT>CHANCE:100
            [/EFFECT]
         [/EFFECTS]
      [/EVENT_START]
      [EVENT_END]
         <BOOL>NOSTEALEFFECTS:0
         [EFFECTS]
            <STRING>TARGET:SELF
            [EFFECT]
               <STRING>NAME:Railman_Charge_Mastery
               <STRING>ACTIVATION:DYNAMIC
               <STRING>DURATION:INSTANT
               <STRING>TYPE:REMOVE TRIGGERABLE
               <FLOAT>MIN:100
               <FLOAT>MAX:100
            [/EFFECT]
         [/EFFECTS]
      [/EVENT_END]
   [/LEVEL1]

the only changes I was to change to description to 50% as I wanna test if its correct

After messing with triggerables action, I link it to the skill below,

   [LEVEL1]
      <INTEGER>CHANCE:50
      [EVENT_START]
         [AFFIXES]
            <INTEGER>AFFIXLEVEL:1
            <STRING>TARGET:SELF
            <STRING>AFFIX:RAILMAN_CHARGE_MASTERY_PROC
         [/AFFIXES]
      [/EVENT_START]
   [/LEVEL1]

as you can see, I made it 50%

But then it didn't work as I intended, its either always 100% to cast, or it won't cast at all if I reduce the Triggerable chance at the affixes.

May someone enlighten me on this?  :'( :'( :'(

Offline Korzeam

  • Rare
  • *
  • Posts: 169
  • Country: fr
    • status idle
    • View Profile
  • Mood: mood smiley
Re: Charge Domination %
« Reply #1 on: April 09, 2019, 05:04:05 PM »
I'm not the best person to answer your question, but there are not many ways to simulate randomness in GUTS.

I think you should use a CAST SKILL affix in the trigger file, with a 50 in MIN and MAX values.
You'll have to create a new skill with a PROC type, no animation and the RAILMAN_CHARGE_MASTERY_PROC affix in the START EVENT.

I'm not sure it works though.
« Last Edit: April 09, 2019, 05:16:33 PM by Korzeam »

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2714
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: Charge Domination %
« Reply #2 on: April 10, 2019, 05:39:44 AM »
Hi @Rhythmier :)

In your test did you also use a proc-skill in between the triggerable and the affix, like the vanilla Charge Mastery does?



Offline TwinkleToes

  • Developer
  • Legendary
  • *
  • Posts: 515
  • Country: 00
    • status idle
    • View Profile
  • Mood: mood smiley
Re: Charge Domination %
« Reply #3 on: April 10, 2019, 05:59:46 AM »
this should work.. but it could be simplified by using the cast on kill effect, no idea why the convoluted it, cast on kill might have bugged when they were doing testing and they chose this way to fix it.

Offline Rhythmier

  • Common
  • *
  • Posts: 37
    • View Profile
Re: Charge Domination %
« Reply #4 on: May 10, 2019, 03:08:59 PM »
Hmm... @Korzeam  method is exactly what I did, but it didn't work, coz from what I found digging around forums, [Cast Skill] actually required auto attack to activate, since in this case I'm using triggerables and not auto attack, [Cast Skill] wouldn't work, unless my skill is hitting something, which is not what I intended.

@Phanjam yes i did, and it didn't work, or at least the % to proc didn't work  :'(

@TwinkleToes where should i use [cast on kill]? triggerables? or just straight up at skill?

Offline TwinkleToes

  • Developer
  • Legendary
  • *
  • Posts: 515
  • Country: 00
    • status idle
    • View Profile
  • Mood: mood smiley
Re: Charge Domination %
« Reply #5 on: May 11, 2019, 04:33:57 AM »
you can straight up replace the triggerable with just "cast on kill" the effect is a proc and its proc rate can be easily tweaked and scaled so there is no need to use multiple skill levels.
« Last Edit: May 11, 2019, 04:36:31 AM by TwinkleToes »

Offline Rhythmier

  • Common
  • *
  • Posts: 37
    • View Profile
Re: Charge Domination %
« Reply #6 on: June 02, 2019, 04:59:36 AM »
Hmm... that didn't work no matter what I do... Nevermind I think I'll just scrap the idea. I'm close to completion, don't wanna waste more time since this mod has been going on for WAY~ too long.

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2714
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: Charge Domination %
« Reply #7 on: June 03, 2019, 02:48:05 PM »
If ur game for one more shot, paste the skill code here - maybe we'll see someth g helpful :P



Offline Rhythmier

  • Common
  • *
  • Posts: 37
    • View Profile
Re: Charge Domination %
« Reply #8 on: June 07, 2019, 04:50:07 PM »
@Phanjam probably not, as I have redesign that skill and my custom character class is now ready for Beta :D

I'll probably upload the mod this weekend, though I hope I could've use more time but I'm really just getting busier and busier everyday with my newborn. So expect a new class coming soon.  :P

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2714
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: Charge Domination %
« Reply #9 on: June 08, 2019, 02:30:49 PM »
Hey congrats on the newborn @Rhythmier ! Thanks for pushing thru on the mod since everyone knows family (and especially newborns) come first :D looking forward to checking it out!



Tags:
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 5
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

December 2019
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 [6] 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

No calendar events were found.

* Recent Topics

First Topic by Phanjam
[December 01, 2019, 03:05:25 AM]


Variant Classes Mod Information by Sch123
[November 24, 2019, 09:53:51 AM]


Trouble with summons by Phanjam
[November 23, 2019, 12:16:19 PM]


Help Making Custom Minion Skills by DiakEagle
[November 18, 2019, 04:11:40 PM]


Diablo II Charms possible in Torchlight II? by Waves_Blade
[November 11, 2019, 05:40:43 PM]


[TOOL] TL2 Translation Utility by Phanjam
[November 06, 2019, 07:11:09 AM]


[SCRIPT] Automatic Mesh Rebuilding by Phanjam
[October 31, 2019, 05:58:39 PM]


[Tool] Item Unit file maker Script by Phanjam
[October 21, 2019, 01:36:42 PM]


Will these plans be even possible to do? by Saber
[October 15, 2019, 06:13:17 PM]


Variant Classes Bug Reports by negreanu11
[October 05, 2019, 07:23:09 PM]


Mod Changelogs by Viz
[September 22, 2019, 05:06:52 AM]


idea/Request for a new torchlight 2 custom werewolf class by Phanjam
[September 16, 2019, 02:29:05 PM]


Utility to split ogre3d multi-animation skeleton xml files by Phanjam
[September 14, 2019, 02:22:10 AM]


FEP+ April 2019 Update by Sch123
[August 24, 2019, 09:40:03 AM]


Learning Quest Making by Phanjam
[August 21, 2019, 02:46:04 AM]

* Popular Topics