Recommended Posts

RageLeague    116

I'm bored so I made some custom cards that totally works. And I am creating a separate thread for the showcase because I'm done hijacking other threads.

So here are the custom cards that totally works.

Enjoy.

GitHub Repo

Spoiler

 


back_down.thumb.jpg.5cc910eb7847273bcd655551e510501d.jpg

preach.thumb.jpg.a30846282bac4bf463ff102d8f32fb44.jpg

blackmail.thumb.jpg.68e1deee7e152b9cc963ef4886c131b3.jpg

darvo.thumb.jpg.f8ee05e8693e9d8261e45c42e133f873.jpg

fake_promise.thumb.jpg.a06c6360745ee81b5334058d3428212f.jpg

 

Suggestions are welcome.

  • Like 1
  • Haha 3

Share this post


Link to post
Share on other sites
Posted (edited)

i am glad i'm not the one making this thread, partially because i could not back it up with any programming skills or ability at all. i have had one idea for a while in my head. mostly based on morale, which i swear is an underused mechanic

<Kubrick Stare>: Your next attack deals an extra half/third of it's damage in morale loss

(I.E. 6 damage would do 3/2 morale loss to the enemy, raising their surrender threshold, dealing, in essence, 8-9 damage if you don't have that graft that removes surrender)

Edited by Wumpus the 19th
  • Like 1

Share this post


Link to post
Share on other sites
RageLeague    116
13 hours ago, Wumpus the 19th said:

i am glad i'm not the one making this thread, partially because i could not back it up with any programming skills or ability at all. i have had one idea for a while in my head. mostly based on morale, which i swear is an underused mechanic

<Kubrick Stare>: Your next attack deals an extra half/third of it's damage in morale loss

(I.E. 6 damage would do 3/2 morale loss to the enemy, raising their surrender threshold, dealing, in essence, 8-9 damage if you don't have that graft that removes surrender)

There's a card called "Crackler" you can get when you do the beastmaster's side quest, which makes the target lose morale by the damage dealt.

  • Like 2

Share this post


Link to post
Share on other sites
Just now, RageLeague said:

There's a card called "Crackler" you can get when you do the beastmaster's side quest, which makes the target lose morale by the damage dealt.

wait...the beastmaster has a quest now

damn

Share this post


Link to post
Share on other sites
RageLeague    116

image.thumb.png.719a6c227da09dfb93d2aa5186b2f986.png

Finally got unlock packs working. It's very hard to add another pack without changing existing files.

  • Like 2

Share this post


Link to post
Share on other sites
pacovf    635

Bloodletting is a cool effect, but outside the combo with Arterial Scanner, it’s just a much worse Hemorrhage. 

I assume you’re not quite at the stage of balancing the cards, just figuring out how to code them in, though.

Share this post


Link to post
Share on other sites
RageLeague    116
15 minutes ago, pacovf said:

Bloodletting is a cool effect, but outside the combo with Arterial Scanner, it’s just a much worse Hemorrhage. 

I assume you’re not quite at the stage of balancing the cards, just figuring out how to code them in, though.

Or you get someone with "Cleaved", which it nukes them.

  • Like 1

Share this post


Link to post
Share on other sites
SpicyNiceCream    127
Posted (edited)

Is "protect" (from your "bodyguard"), the one where you must attack the target before anyone else?

Edited by SpicyNiceCream

Share this post


Link to post
Share on other sites
RageLeague    116
4 minutes ago, SpicyNiceCream said:

Is "protect" (from your "bodyguard"), the one where you must attack the target before anyone else?

Yes, the new battle card mechanics are all from unused game mechanics. Otherwise I don't think it works.

Share this post


Link to post
Share on other sites
SpicyNiceCream    127

Did it work(like it should) in action? I used it in my earlier mods, but since the condition seems to removes itself on end turn, it didn't work like I would like.

  • Like 1

Share this post


Link to post
Share on other sites
RageLeague    116
29 minutes ago, SpicyNiceCream said:

Did it work(like it should) in action? I used it in my earlier mods, but since the condition seems to removes itself on end turn, it didn't work like I would like.

That's probably because it does remove itself at the end of the turn, that's how it is described in the description.

I looked at their code, and it seems that they hard-coded the behavior of this condition in their battle engine. Probably very hard to make a new condition that does similar target-restricting behavior without changing the engine itself, and that probably isn't a good idea.

Now that I think about it, what's the point of having multiple stacks if it's going to be removed at the end of turn anyway?

Share this post


Link to post
Share on other sites
RageLeague    116

I figured out how to modify existing properties of conditions.

"Stagger" was previously defined as a buff by default, but I added a script that change it to a debuff.

All I did is adding this:

local CONTENT = Content.internal

local stagger_condition = CONTENT.BATTLE_CONDITIONS[ "STAGGER" ]
if stagger_condition then
    stagger_condition.ctype = CTYPE.DEBUFF
end

You can probably do something similar with protect if you want, by changing its event_handlers[BATTLE_EVENT.END_TURN] field, where BATTLE_EVENT is defined as

local battle_defs = require "battle/battle_defs"
local BATTLE_EVENT = battle_defs.BATTLE_EVENT

 

  • Like 2

Share this post


Link to post
Share on other sites
SpicyNiceCream    127

Thanks for that. I was considering copy-pasting the whole code of that condition into a new condition and simply remove the end turn stuff.

Share this post


Link to post
Share on other sites
RageLeague    116

Actually, Stagger stands for "If there are 5 or more stacks of Stagger, apply stun and remove 5 stacks of Stagger. Remove 1 Stagger at the end of turn(or start, I don't exactly remember)".

Edited by RageLeague

Share this post


Link to post
Share on other sites
4 hours ago, RageLeague said:

Actually, Stagger stands for "If there are 5 or more stacks of Stagger, apply stun and remove 5 stacks of Stagger. Remove 1 Stagger at the end of turn(or start, I don't exactly remember)".

so this is basically the heavy laborer stun mechanic, only in reverse. okay. i had thought of a headbutt card but i don't know if stagger or cripple would sound better or BE better for it. namely the card deals the status effect back to the player.

Share this post


Link to post
Share on other sites
RageLeague    116

Right now I haven't figured out how .tex files work. .tex files is what this game uses for textures. All the textures that I currently use are from existing cards. If anyone knows how to read and write .tex files, please let me know.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now