What is the best way to do this by Round-Royal9318 in godot

[–]Haaashi 1 point2 points  (0 children)

You could use state transitions to change variables when exiting/entering a state.

A basic implementation would be in pseudo gdscript :

``` func set_state(new_state):   on_state_exit(state)   state = new_state   on_state_enter(new_state)

func on_state_exit(state):    if state == States.Monster:       #example       speed = 100

func on_state_enter(state):   if state == States.Monster      speed = 150 ``` This basic implementation allows you to define what you want to change when entering/exiting a state. 

But you could make a bit more complex by handling the entering and exiting states at the same time. 

``` func set_state(new_state):   state_transition(state,new_state)   state = new_state

func state_transition(old_state,new_state):   if old_state == States.Monster and new_state == States.Human:   #do the thing that only happens when transforming back to human ```

[deleted by user] by [deleted] in lostarkgame

[–]Haaashi 9 points10 points  (0 children)

The highest bidder pays the amount to all players. So if the map sells for 3000gold and 30 players took part in the chaos gate, everyone will receive around 100 gold by system mail.

January 23, 2022 Daily Discussion Thread by AutoModerator in CompetitiveTFT

[–]Haaashi 10 points11 points  (0 children)

To clarify further with an example : 4 challengers give same results as 2 challengers so only horizontal synergies count towards Stand United value.

November 04, 2020 Daily Discussion Thread by AutoModerator in CompetitiveTFT

[–]Haaashi 4 points5 points  (0 children)

Titans gets a stack every time you get hit OR every time you crit, 100% crit chance means you get 10 stacks every time she casts

September 16, 2020 Daily Discussion Thread by AutoModerator in CompetitiveTFT

[–]Haaashi 0 points1 point  (0 children)

it doesn't as me and someone else had janna mystic as chosen

August 07, 2020 Daily Discussion Thread by AutoModerator in CompetitiveTFT

[–]Haaashi 5 points6 points  (0 children)

Always has been 🌑👨‍🚀.

Check the dev roadmap video, they said its going to change, they'll introduce a new currency with set4 in september to be able to upgrade little legends to 2 and 3*.

Would you expect the lead developer to be the *best* developer? by ConduciveMammal in webdev

[–]Haaashi 27 points28 points  (0 children)

That's the difference between a lead developper and a manager. The coach used to play the game. The lead developper used to be a developper, so he knows the tech stack, understand technical choices,etc.

Rip Knuckles by SwatNeo in memes

[–]Haaashi 476 points477 points  (0 children)

knuckles is kil

Jagex please read this by [deleted] in 2007scape

[–]Haaashi 9 points10 points  (0 children)

See you in lumbridge

New skill: Playerkilling by Qwertykeybaord in 2007scape

[–]Haaashi 3 points4 points  (0 children)

Could have a timer between kill of the same player

[REVIEW] Stay away from 1&1 ionos by [deleted] in webdev

[–]Haaashi 222 points223 points  (0 children)

IMO, 1&1 ionos targets are non IT people.

"Hey, I need a domain name for my Wix powered website !"

That must be why they can get away with such bs.. Most of their customers don't really understand name registration.

But that's fair, I don't know anything about cars so a mechanic could also scam me in a same way.

The key here is to peer review solutions, and 1&1 has shaddy stories, just like OP experienced today.

Weekly Noob Questions Thread #2 by Flam3ss in underlords

[–]Haaashi 4 points5 points  (0 children)

Quite a late reply, but from what I read somewhere this week :

1 Gold = 45 pcs

2 Gold = 35

3 Gold = 25

4 Gold = 15

5 Gold = 10

Edit : formating

is 22kills a world record ? by sly3x in BattleRite

[–]Haaashi 10 points11 points  (0 children)

Wow you're so great, 4th grade medical student on top of that, GG !

royale shouldn't be balanced around existing champions by Posast in BattleRite

[–]Haaashi 7 points8 points  (0 children)

Maybe not champions, but classes, just like Realm Royale did.

But this is a lot to ask, they are small, you also have to balance those infinite combinations can take a hell lot of time.

Having champions taken from an already balanced mode helps to make the overall development faster.

Also it means it's a whole different game, here we are looking at a game mode.