View Single Post
  #16  
Old 11-01-2020, 03:34 PM
7thGate 7thGate is offline
Sarnak


Join Date: Dec 2015
Posts: 369
Default

Quote:
Originally Posted by axisofebola [You must be logged in to view images. Log in or Register.]
Do the spell files actually say these things like like they have listed on lucy or is this information essentially being edited in by lucy itself? Because slow specifically says it decreases.

If your math teacher told you to write a general equation to increase something by 50%, you would flunk if you wrote x(.5) =y
Its edited in by Lucy, I think? The spells_us.txt file looks like this:

1588^Turgur's Insects^PLAYER_1^^^^You feel drowsy.^ yawns.^You feel less drowsy.^200^0^0^0^3000^2250^6000^7^60^0^250^0^85^1 6^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^25^0 ^0^0^0^0^0^0^0^0^0^2501^2054^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^102^100^100^100^100^100^100^100^100^100^100^ 0^0^0^1^10^11^254^254^254^254^254^254^254^254^254^ 254^5^0^5^-1^0^0^255^255^255^255^255^255^255^255^255^51^255^2 55^255^255^255^255^42^0^0^17^0^0^0^0^0^0^0^0^0^0^0 ^0^0^0^0^0^0^0^100^0^155^110^0^0^0^0^0^0^0^0^0^0^0 ^88^0^0^-1^160^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^-12^134^-66^38^7^65^0^0^0^0^7^214^0^0^0^0^0^0^0^0^0^0^1^0^0 ^0^0^0^0^-1^0^0^0^1^0^0^1^1^^0

1589^Tigir's Insects^PLAYER_1^^^^You feel drowsy.^ yawns.^You feel less drowsy.^200^20^0^0^5000^2250^5000^6^30^0^350^0^80^ 16^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^50^ 0^0^0^0^0^0^0^0^0^0^2501^2054^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^101^100^100^100^100^100^100^100^100^100^100^ 0^0^0^1^10^11^254^254^254^254^254^254^254^254^254^ 254^8^15^5^-1^0^0^255^255^255^255^255^255^255^255^255^58^255^2 55^255^255^255^255^42^0^0^17^0^0^0^0^0^0^0^0^0^0^0 ^0^0^0^0^0^0^0^100^0^52^110^0^15^0^0^0^0^0^0^0^0^0 ^88^0^0^-1^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^-12^135^-94^203^6^35^0^0^0^0^7^218^0^0^0^0^0^0^0^0^0^0^1^0^ 0^0^0^0^0^-1^0^0^0^1^0^0^1^1^^0

8619^Speed of the Shissar^PLAYER_1^^^^Your body pulses with the spirit of the Shissar.^'s body pulses with the spirit of the Shissar.^Your body slows.^100^0^0^0^0^0^0^3^300^0^0^166^40^40^-3^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^166^40^4 0^0^0^0^0^0^0^0^0^0^2518^2124^-1^-1^-1^-1^1^1^1^1^-1^-1^-1^-1^100^100^100^100^100^100^100^100^100^100^100^100^ 0^1^0^0^11^6^1^24^254^254^254^254^254^254^254^254^ 5^0^5^-1^0^0^255^255^255^255^255^255^255^255^255^255^255^ 255^255^255^255^255^43^0^0^7^0^0^0^0^0^0^0^0^0^0^0 ^0^0^0^0^0^0^0^100^0^132^88^0^0^0^0^0^0^0^0^0^0^0^ 0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^100^0^-99^3^300^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^0^1^1^0^0^0 ^0^0^-1^0^0^0^1^0^0^1^1^^0

The ^ act as a field delimiter. The effect capping field is the 25/50/166 values about 36 fields past the descriptive text in each one. There's a struct in the eqemu code that describes what each field means.

The effect fields are the 11^6^1^24 for Shissar and 10^11 for Tigir/Togor (10 is used as a spacer for slot effects to push the speed mod into slot 2; 11 is the code for attack speed mod, they put most slows in slot 2 and hastes in slot 1 because the same effect in the same slot won't stack and they didn't want slows or hastes blocking each other)
__________________
Jayya - 60 Rogue, Officer <Auld Lang Syne>

Sanctum Low Man Vindi Kill: https://www.youtube.com/watch?v=xyZfNjvsDRE
Last edited by 7thGate; 11-01-2020 at 03:44 PM..