Search found 80 matches

by cameronC
Tue Dec 30, 2014 8:08 am
Forum: Mod Creation
Topic: CameronC's items/scripts (NEW: the socketSystem)
Replies: 24
Views: 40004

Re: CameronC's items/scripts (NEW: the socketSystem)

just noted interesting small bug behaviour - in case you have some item which drains energy on equip, it does not work when champion is starving. Seems it is somehow connected with automatic regeneration. as for the socket that sounds awesome, definitely could be nice addon to some mods, thanks for...
by cameronC
Mon Dec 29, 2014 4:17 pm
Forum: Mod Creation
Topic: New weapon skills - Resolved
Replies: 22
Views: 18384

Re: some weapon skill help pls

akroma222 wrote:Thats sounds a lot better cameronC, do you volunteer for this?? ;)
I do, I do. Let's see how 'simple' this is...

of course, the real solution is to let us put more hooks in trait definitions, like on onReceiveCondition can be...
by cameronC
Mon Dec 29, 2014 11:42 am
Forum: Mod Creation
Topic: New weapon skills - Resolved
Replies: 22
Views: 18384

Re: some weapon skill help pls

You can have onAttack look at the traits of the attacking champion and build a table of what modifiers the weapon is getting, then write a function to reduce the weapon stats back to normal by passing it this table and use delayedCall to that function from onAttack. So, everytime someone attacks the...
by cameronC
Sun Dec 28, 2014 6:21 pm
Forum: Mod Creation
Topic: Hook framework (a.k.a LoG Framework 2)
Replies: 42
Views: 47931

Re: Hook framework (a.k.a LoG Framework 2)

Hello, JKos. I've got an item that gains a secondary action. A new MeleeAttack component is created named specialattack and then the item's secondaryAction is set to specialattack and the other properties of the attack are then defined in script (attackPower, Cooldown, etc). weapon.go.id correctly r...
by cameronC
Sat Dec 27, 2014 6:33 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2963305

Re: Ask a simple question, get a simple answer

I don't suppose anyone has an answer/work around to get addConnector to work with item hooks yet?
(Related to this thread and some others...)
by cameronC
Fri Dec 26, 2014 7:34 pm
Forum: Mod Creation
Topic: CameronC's items/scripts (NEW: the socketSystem)
Replies: 24
Views: 40004

Re: CameronC's items/scripts (NEW: the socketSystem)

Nice work! Hey,i did get the sockets working but now its says this in console when i start game : Warning! invalind component property item.gemcount Warning! invalind component property item.sockets Warning! invalind component property model.gemcount Warning! invalind component property model.socke...
by cameronC
Fri Dec 26, 2014 2:12 am
Forum: Mod Creation
Topic: CameronC's items/scripts (NEW: the socketSystem)
Replies: 24
Views: 40004

Re: CameronC's items/scripts (NEW: the socketSystem)

---------- socketSystem ------------------------------ Github link: https://github.com/camcallahan/general-log2-assets/tree/master/socketSystem The socketSystem is a simple setup that lets champions use magical gems that can be inserted into sockets on their equipment and modify their attributes. B...
by cameronC
Fri Dec 19, 2014 9:48 am
Forum: Mod Creation
Topic: New weapon skills - Resolved
Replies: 22
Views: 18384

Re: some weapon skill help pls

The QUICK trait in the asset pack decreases cooldown by 10% by returning 0.9, though. Why doesn't returning 0.8 decrease cooldown by 20%?
by cameronC
Thu Dec 18, 2014 5:29 pm
Forum: Mod Creation
Topic: New weapon skills - Resolved
Replies: 22
Views: 18384

Re: some weapon skill help pls

On my way out the door to go to work but here is something quick to point you in the right direction (hopefully). The other two cannot be done JUST within a trait definition, as traits seemingly only have onRecomputeStats, onComputeCooldown, onComputeCritChance, and onReceiveCondition. So you need t...
by cameronC
Wed Dec 17, 2014 5:22 pm
Forum: Mod Creation
Topic: Temporary potion effects [solved]
Replies: 10
Views: 9980

Re: Temporary potion effects [not solved]

isn't it possible to use delayedCall(self.go.id, <timeInSeconds>, <"Event"> ) I haven't seen this work on a script component of an item, plus since the potion is consumed onUse I don't know if that would work either. Setting the stat bonuses via trait works, when you go that route, but th...