News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
April 25, 2019, 12:05:15 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 120 times)

Offline Rhythmier

  • Common
  • *
  • Posts: 16
    • 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: 166
  • 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: 2635
  • 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: 513
  • 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.

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

April 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

No calendar events were found.

* Recent Topics

FEP+ by steffire3
[April 24, 2019, 09:34:48 AM]


Triggerable Weapons by Phanjam
[April 19, 2019, 07:32:04 AM]


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


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]


Charge Domination % by TwinkleToes
[April 10, 2019, 05:59:46 AM]


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]


Variant Classes Mod Information by steffire3
[April 09, 2019, 04:38:32 AM]


Arc Beam Affix Duration by Rhythmier
[April 06, 2019, 02:25:22 AM]


TL1CP 2019 Baselining Work List by Phanjam
[April 05, 2019, 01:24:15 PM]


Classless Character Mod by Phanjam
[March 31, 2019, 01:47:45 PM]


Merging Mods... by Phanjam
[March 17, 2019, 01:36:33 PM]

* Popular Topics