News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
May 21, 2019, 11:25:40 PM
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 244 times)

Offline Rhythmier

  • Common
  • *
  • Posts: 17
    • 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: 167
  • 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: 2652
  • 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: 17
    • 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 »

Tags:
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Mod Boards Activity

* Who's Online

  • Dot Guests: 3
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

May 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

Darkened TL2 UI (Re-texture Mod) by Phanjam
[Today at 02:29:35 PM]


FEP+ April 2019 Update by Phanjam
[May 19, 2019, 10:34:51 PM]


Skills Expansion: Bugs Report & Ideas by Sch123
[May 16, 2019, 10:54:27 AM]


Charge Domination % by TwinkleToes
[May 11, 2019, 04:33:57 AM]


[Help Request] Putting Custom Dungeons Into Vanilla Zones by Phanjam
[May 09, 2019, 02:19:19 AM]


Triggerable Weapons by Phanjam
[April 29, 2019, 11:15:57 AM]


Need Help: Getting Translation into game by steffire3
[April 25, 2019, 10:23:02 PM]


Destroyer Rebalance by Phanjam
[April 15, 2019, 06:10:08 AM]


FEP+ by LeavingUndad
[April 14, 2019, 06:47:25 PM]


Knowledge-basing For Level & Quest Making by Phanjam
[April 13, 2019, 01:51:42 PM]


Pet Variants Mod by Phanjam
[April 11, 2019, 02:53:00 PM]


[IDEA] Maika's Quest (children's mod) by Phanjam
[April 11, 2019, 09:33:41 AM]


Need Help: Template File List by steffire3
[April 10, 2019, 07:21:54 PM]


Deathknight class by Phanjam
[April 10, 2019, 12:47:27 AM]


TL1CP Update 4 - A new baseline (I hope) by Anarch16sync
[April 09, 2019, 03:25:53 PM]

* Popular Topics