Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] what is the condition source type?

[DiscordArchive] what is the condition source type?

[DiscordArchive] what is the condition source type?

rektbyfaith
Administrator
0
10-09-2024, 11:05 AM
#1
Archived author: Tea • Posted: 2024-10-09T11:05:07.349000+00:00
Original source

what is the condition source type?
rektbyfaith
10-09-2024, 11:05 AM #1

Archived author: Tea • Posted: 2024-10-09T11:05:07.349000+00:00
Original source

what is the condition source type?

rektbyfaith
Administrator
0
10-09-2024, 11:08 AM
#2
Archived author: martijnh • Posted: 2024-10-09T11:08:04.891000+00:00
Original source

I think: CONDITION_SOURCE_TYPE_SPELL
rektbyfaith
10-09-2024, 11:08 AM #2

Archived author: martijnh • Posted: 2024-10-09T11:08:04.891000+00:00
Original source

I think: CONDITION_SOURCE_TYPE_SPELL

rektbyfaith
Administrator
0
10-09-2024, 11:10 AM
#3
Archived author: Tea • Posted: 2024-10-09T11:10:41.596000+00:00
Original source

then change ConditionTarget from 0 to 1 (which object is being tested, for this condition type 0 = caster, 1 = explicit target)
rektbyfaith
10-09-2024, 11:10 AM #3

Archived author: Tea • Posted: 2024-10-09T11:10:41.596000+00:00
Original source

then change ConditionTarget from 0 to 1 (which object is being tested, for this condition type 0 = caster, 1 = explicit target)

rektbyfaith
Administrator
0
10-09-2024, 11:13 AM
#4
Archived author: martijnh • Posted: 2024-10-09T11:13:40.409000+00:00
Original source

OK thanks Shauren .. i will try to find how to do that.. I assume data3 or 4 in go_template..

Anyway.. that CONDITION_SOURCE_TYPE_SPELL was hardcoded here:
[Image: image.png?ex=690c82e4&is=690b3164&hm=001...8deb82de0&]
rektbyfaith
10-09-2024, 11:13 AM #4

Archived author: martijnh • Posted: 2024-10-09T11:13:40.409000+00:00
Original source

OK thanks Shauren .. i will try to find how to do that.. I assume data3 or 4 in go_template..

Anyway.. that CONDITION_SOURCE_TYPE_SPELL was hardcoded here:
[Image: image.png?ex=690c82e4&is=690b3164&hm=001...8deb82de0&]

rektbyfaith
Administrator
0
10-09-2024, 11:32 AM
#5
Archived author: Tea • Posted: 2024-10-09T11:32:55.316000+00:00
Original source

no, ConditionTarget is a column in conditions table
rektbyfaith
10-09-2024, 11:32 AM #5

Archived author: Tea • Posted: 2024-10-09T11:32:55.316000+00:00
Original source

no, ConditionTarget is a column in conditions table

rektbyfaith
Administrator
0
10-09-2024, 11:37 AM
#6
Archived author: martijnh • Posted: 2024-10-09T11:37:18.138000+00:00
Original source

I found it indeed.. thanks.. Conditions are now met. So it worked. But nothing happened. no teleportation
rektbyfaith
10-09-2024, 11:37 AM #6

Archived author: martijnh • Posted: 2024-10-09T11:37:18.138000+00:00
Original source

I found it indeed.. thanks.. Conditions are now met. So it worked. But nothing happened. no teleportation

rektbyfaith
Administrator
0
10-09-2024, 11:52 AM
#7
Archived author: martijnh • Posted: 2024-10-09T11:52:16.458000+00:00
Original source

no idea yet.. ".cast 65728" works fine.. but when portal casts on me nothing
rektbyfaith
10-09-2024, 11:52 AM #7

Archived author: martijnh • Posted: 2024-10-09T11:52:16.458000+00:00
Original source

no idea yet.. ".cast 65728" works fine.. but when portal casts on me nothing

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)